aboutsummaryrefslogtreecommitdiff
path: root/package/aircrack-ng
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-01-30 18:28:33 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-02-02 15:00:12 +0100
commitf8316da224dfaafab431100f708f51cc3fd98d9e (patch)
treeaeefce0422c289362c4b38b811c8f6e490bad419 /package/aircrack-ng
parent3191d1624e6b4964f35675542bf68235a3dbdb08 (diff)
downloadbuildroot-f8316da224dfaafab431100f708f51cc3fd98d9e.tar.gz
buildroot-f8316da224dfaafab431100f708f51cc3fd98d9e.tar.bz2
package/aircrack-ng: add optional hwloc dependency
hwloc dependency has been added in version 1.4 with https://github.com/aircrack-ng/aircrack-ng/commit/c31b27449962bc69638b32ec14e0ffdb8997dfcf Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/aircrack-ng')
-rw-r--r--package/aircrack-ng/aircrack-ng.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/aircrack-ng/aircrack-ng.mk b/package/aircrack-ng/aircrack-ng.mk
index 350e251bfe..b51332ab77 100644
--- a/package/aircrack-ng/aircrack-ng.mk
+++ b/package/aircrack-ng/aircrack-ng.mk
@@ -31,6 +31,13 @@ else
AIRCRACK_NG_CONF_OPTS += --without-duma
endif
+ifeq ($(BR2_PACKAGE_HWLOC),y)
+AIRCRACK_NG_DEPENDENCIES += hwloc
+AIRCRACK_NG_CONF_OPTS += --enable-hwloc
+else
+AIRCRACK_NG_CONF_OPTS += --disable-hwloc
+endif
+
ifeq ($(BR2_PACKAGE_JEMALLOC),y)
AIRCRACK_NG_DEPENDENCIES += jemalloc
AIRCRACK_NG_CONF_OPTS += --with-jemalloc