]> code.ossystems Code Review - openembedded-core.git/commitdiff
libpcap: add a dummy PACKAGECONFIG for bluez5
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 11 Jun 2015 02:10:13 +0000 (19:10 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 23 Jun 2015 10:38:11 +0000 (11:38 +0100)
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 <liezhi.yang@windriver.com>
meta/recipes-connectivity/libpcap/libpcap.inc

index 9b059d7df6a1771e507034e2634d6c701ae6b108..0873c248c5fd96c9619dadd27bbd88e561488ccd 100644 (file)
@@ -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"