summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2018-09-23 18:32:40 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-09-25 22:31:05 +0200
commit1811f17c6586cd0c70a5a63e0717a4e2b17c82b1 (patch)
treef29549b538918de40d257544e3c3a0bb13022dd0
parent86d5b0e2e5434946493035450764ac78eee7615f (diff)
downloadbuildroot-1811f17c6586cd0c70a5a63e0717a4e2b17c82b1.tar.gz
buildroot-1811f17c6586cd0c70a5a63e0717a4e2b17c82b1.zip
irqbalance: add optional libcap-ng dependency
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/irqbalance/irqbalance.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/irqbalance/irqbalance.mk b/package/irqbalance/irqbalance.mk
index 309fc22ee2..410e40a131 100644
--- a/package/irqbalance/irqbalance.mk
+++ b/package/irqbalance/irqbalance.mk
@@ -15,6 +15,13 @@ IRQBALANCE_AUTORECONF = YES
# Local implementation of glib2 will be used if --without-glib2 is set
IRQBALANCE_CONF_OPTS = --with-glib2
+ifeq ($(BR2_PACKAGE_LIBCAP_NG),y)
+IRQBALANCE_DEPENDENCIES += libcap-ng
+IRQBALANCE_CONF_OPTS += --with-libcap-ng
+else
+IRQBALANCE_CONF_OPTS += --without-libcap-ng
+endif
+
ifeq ($(BR2_PACKAGE_NUMACTL),y)
IRQBALANCE_DEPENDENCIES += numactl
IRQBALANCE_CONF_OPTS += --enable-numa
OpenPOWER on IntegriCloud