2015-01-08 16:43:56 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# irqbalance
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2015-03-29 09:46:00 +02:00
|
|
|
IRQBALANCE_VERSION = v1.0.9
|
2015-01-08 16:43:56 +01:00
|
|
|
IRQBALANCE_SITE = $(call github,irqbalance,irqbalance,$(IRQBALANCE_VERSION))
|
2017-03-30 15:43:32 +02:00
|
|
|
IRQBALANCE_LICENSE = GPL-2.0
|
2015-01-08 16:43:56 +01:00
|
|
|
IRQBALANCE_LICENSE_FILES = COPYING
|
|
|
|
IRQBALANCE_DEPENDENCIES = host-pkgconf
|
|
|
|
# Autoreconf needed because package is distributed without a configure script
|
|
|
|
IRQBALANCE_AUTORECONF = YES
|
|
|
|
|
|
|
|
# This would be done by the package's autogen.sh script
|
|
|
|
define IRQBALANCE_PRECONFIGURE
|
|
|
|
mkdir -p $(@D)/m4
|
|
|
|
endef
|
|
|
|
|
|
|
|
IRQBALANCE_PRE_CONFIGURE_HOOKS += IRQBALANCE_PRECONFIGURE
|
|
|
|
|
|
|
|
define IRQBALANCE_INSTALL_INIT_SYSV
|
|
|
|
$(INSTALL) -D -m 755 package/irqbalance/S13irqbalance \
|
|
|
|
$(TARGET_DIR)/etc/init.d/S13irqbalance
|
|
|
|
endef
|
|
|
|
|
|
|
|
define IRQBALANCE_INSTALL_INIT_SYSTEMD
|
|
|
|
$(INSTALL) -D -m 644 package/irqbalance/irqbalance.service \
|
2015-03-20 20:13:58 +01:00
|
|
|
$(TARGET_DIR)/usr/lib/systemd/system/irqbalance.service
|
2015-01-08 16:43:56 +01:00
|
|
|
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
2015-03-20 20:13:58 +01:00
|
|
|
ln -fs ../../../../usr/lib/systemd/system/irqbalance.service \
|
2015-01-08 16:43:56 +01:00
|
|
|
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/irqbalance.service
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|