irqbalance: add optional numactl dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2018-09-23 18:32:38 +02:00 committed by Thomas Petazzoni
parent 73185f1270
commit cd9ac3d8fe

View File

@ -12,6 +12,13 @@ IRQBALANCE_DEPENDENCIES = host-pkgconf
# Autoreconf needed because package is distributed without a configure script
IRQBALANCE_AUTORECONF = YES
ifeq ($(BR2_PACKAGE_NUMACTL),y)
IRQBALANCE_DEPENDENCIES += numactl
IRQBALANCE_CONF_OPTS += --enable-numa
else
IRQBALANCE_CONF_OPTS += --disable-numa
endif
# This would be done by the package's autogen.sh script
define IRQBALANCE_PRECONFIGURE
mkdir -p $(@D)/m4