From f2a09e6170e68f4892f3c7cb9d27a4365efa94e8 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Wed, 10 Jun 2015 19:10:13 -0700 Subject: libpcap: add a dummy PACKAGECONFIG for bluez5 The BLUEZ is default to bluez5, but there is only PACKAGECONFIG[bluez4], no PACKAGECONFIG[bluez5], add a dummy PACKAGECONFIG for bluez5 to avoid confusing the user, and avoid the warning. Signed-off-by: Robert Yang --- meta/recipes-connectivity/libpcap/libpcap.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc index 9b059d7df6..0873c248c5 100644 --- a/meta/recipes-connectivity/libpcap/libpcap.inc +++ b/meta/recipes-connectivity/libpcap/libpcap.inc @@ -22,6 +22,8 @@ EXTRA_OECONF = "--with-pcap=linux" PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ}', '', d)}" PACKAGECONFIG[bluez4] = "--enable-bluetooth,--disable-bluetooth,bluez4" +# Add a dummy PACKAGECONFIG for bluez5 since it is not supported by libpcap. +PACKAGECONFIG[bluez5] = ",," PACKAGECONFIG[canusb] = "--enable-canusb,--enable-canusb=no,libusb" PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus" PACKAGECONFIG[libnl] = "--with-libnl,--without-libnl,libnl" -- cgit v1.2.3