From: Robert Yang Date: Thu, 11 Jun 2015 02:10:13 +0000 (-0700) Subject: libpcap: add a dummy PACKAGECONFIG for bluez5 X-Git-Tag: 2015-10~1533 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=f2a09e6170e68f4892f3c7cb9d27a4365efa94e8;p=openembedded-core.git 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 --- 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"