board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / irqbalance / irqbalance.mk
blob1872c889c86023542606c1ea2d06552baa2e62ae
1 ################################################################################
3 # irqbalance
5 ################################################################################
7 IRQBALANCE_VERSION = v1.0.9
8 IRQBALANCE_SITE = $(call github,irqbalance,irqbalance,$(IRQBALANCE_VERSION))
9 IRQBALANCE_LICENSE = GPLv2
10 IRQBALANCE_LICENSE_FILES = COPYING
11 IRQBALANCE_DEPENDENCIES = host-pkgconf
12 # Autoreconf needed because package is distributed without a configure script
13 IRQBALANCE_AUTORECONF = YES
15 # This would be done by the package's autogen.sh script
16 define IRQBALANCE_PRECONFIGURE
17 mkdir -p $(@D)/m4
18 endef
20 IRQBALANCE_PRE_CONFIGURE_HOOKS += IRQBALANCE_PRECONFIGURE
22 define IRQBALANCE_INSTALL_INIT_SYSV
23 $(INSTALL) -D -m 755 package/irqbalance/S13irqbalance \
24 $(TARGET_DIR)/etc/init.d/S13irqbalance
25 endef
27 define IRQBALANCE_INSTALL_INIT_SYSTEMD
28 $(INSTALL) -D -m 644 package/irqbalance/irqbalance.service \
29 $(TARGET_DIR)/usr/lib/systemd/system/irqbalance.service
30 mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
31 ln -fs ../../../../usr/lib/systemd/system/irqbalance.service \
32 $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/irqbalance.service
33 endef
35 $(eval $(autotools-package))