package/aircrack-ng: add optional hwloc dependency

hwloc dependency has been added in version 1.4 with
c31b274499

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 2019-01-30 18:28:33 +01:00 committed by Thomas Petazzoni
parent 3191d1624e
commit f8316da224

View File

@ -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