Files
packages/utils/irqbalance/Makefile
Hannu Nyman 99076937b1 irqbalance: update to version 1.9.5
Update to version 1.9.5

* Use upstream meson.build file, as they now support meson
  * patch it locally to continue using static glib linking

* Disable numa, systemd and thermal functions via meson options

* Resurrect the patch to silence repetitive EINVAL warnings.
  (patch was used with 1.9.3, but was not needed with 1.9.4)
  Related discussion in upstream issue 336 and 349

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2026-01-25 15:27:22 +02:00

61 lines
1.6 KiB
Makefile

# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=irqbalance
PKG_VERSION:=1.9.5
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/Irqbalance/irqbalance.git
PKG_SOURCE_VERSION:=v$(PKG_VERSION)
PKG_MIRROR_HASH:=a9d53209c5e31503cdc61518ca5887bb01cf1dab546928272a9aa7051713e4be
PKG_MAINTAINER:=Hannu Nyman <hannu.nyman@iki.fi>
PKG_LICENSE:=GPL-2.0-or-later
PKG_LICENSE_FILES:=COPYING
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
include $(INCLUDE_DIR)/meson.mk
PKG_BUILD_DEPENDS += glib2
define Package/irqbalance
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=$(ICONV_DEPENDS) $(INTL_DEPENDS)
TITLE:=IRQ usage balancing for multi-core systems
URL:=https://github.com/Irqbalance/irqbalance
endef
define Package/irqbalance/description
The purpose of irqbalance is to distribute hardware interrupts across
processors/cores on a multiprocessor/multicore system in order to
increase performance.
endef
define Package/irqbalance/conffiles
/etc/config/irqbalance
endef
MESON_ARGS += \
-Dcapng=disabled \
-Dnuma=disabled \
-Dsystemd=disabled \
-Dthermal=disabled \
-Dui=disabled
define Package/irqbalance/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/irqbalance $(1)/usr/sbin/
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/irqbalance.init $(1)/etc/init.d/irqbalance
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_DATA) ./files/irqbalance.config $(1)/etc/config/irqbalance
endef
$(eval $(call BuildPackage,irqbalance))