libpcap: add support for bluez5_utils

bluez5_utils support has been added since version 1.8.0 and
b3776f3d50

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2019-01-29 23:33:55 +01:00 committed by Peter Korsgaard
parent 9a36851f70
commit 4c8760bdc5

View File

@ -24,9 +24,10 @@ define LIBPCAP_CONFIG_REMOVE_RPATH
endef
LIBPCAP_POST_BUILD_HOOKS = LIBPCAP_CONFIG_REMOVE_RPATH
# On purpose, not compatible with bluez5
ifeq ($(BR2_PACKAGE_BLUEZ_UTILS),y)
LIBPCAP_DEPENDENCIES += bluez_utils
else ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y)
LIBPCAP_DEPENDENCIES += bluez5_utils
else
LIBPCAP_CONF_OPTS += --disable-bluetooth
endif