2017-02-08 00:26:58 +02:00
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=irqbalance
|
2024-03-24 20:39:05 +02:00
|
|
|
PKG_VERSION:=1.9.4
|
|
|
|
PKG_RELEASE:=1
|
2017-02-08 00:26:58 +02:00
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
|
|
PKG_SOURCE_URL:=https://github.com/Irqbalance/irqbalance.git
|
2022-06-09 15:30:40 -07:00
|
|
|
PKG_SOURCE_VERSION:=v$(PKG_VERSION)
|
2024-04-06 12:47:54 +02:00
|
|
|
PKG_MIRROR_HASH:=0521b15bb15ad46704ccf65f7ae683a47d54e7bae57fbe4e2a4341da6d424e58
|
2017-02-08 00:26:58 +02:00
|
|
|
|
|
|
|
PKG_MAINTAINER:=Hannu Nyman <hannu.nyman@iki.fi>
|
2022-06-09 15:30:40 -07:00
|
|
|
PKG_LICENSE:=GPL-2.0-or-later
|
|
|
|
PKG_LICENSE_FILES:=COPYING
|
2020-02-24 18:16:58 -05:00
|
|
|
|
2017-02-08 00:26:58 +02:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2022-06-09 15:30:40 -07:00
|
|
|
include $(INCLUDE_DIR)/nls.mk
|
|
|
|
include $(INCLUDE_DIR)/meson.mk
|
2017-02-08 00:26:58 +02:00
|
|
|
|
2020-04-27 22:48:53 +01:00
|
|
|
PKG_BUILD_DEPENDS += glib2
|
|
|
|
|
2017-02-08 00:26:58 +02:00
|
|
|
define Package/irqbalance
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
2020-04-27 22:48:53 +01:00
|
|
|
DEPENDS:=$(ICONV_DEPENDS) $(INTL_DEPENDS)
|
2017-02-08 00:26:58 +02:00
|
|
|
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
|
|
|
|
|
2020-05-09 05:43:57 +08:00
|
|
|
define Package/irqbalance/conffiles
|
|
|
|
/etc/config/irqbalance
|
|
|
|
endef
|
|
|
|
|
2022-06-09 15:30:40 -07:00
|
|
|
MESON_ARGS += \
|
|
|
|
-Dcapng=disabled \
|
|
|
|
-Dui=disabled
|
|
|
|
|
2017-02-08 00:26:58 +02:00
|
|
|
define Package/irqbalance/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2022-06-09 15:30:40 -07:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/irqbalance $(1)/usr/sbin/
|
2019-05-03 01:15:01 +06:00
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
|
|
$(INSTALL_BIN) ./files/irqbalance.init $(1)/etc/init.d/irqbalance
|
2019-06-02 12:29:17 +03:00
|
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
|
|
$(INSTALL_DATA) ./files/irqbalance.config $(1)/etc/config/irqbalance
|
2017-02-08 00:26:58 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,irqbalance))
|