[oe-commits] Robert Yang : libpcap: add a dummy PACKAGECONFIG for bluez5

git at git.openembedded.org git at git.openembedded.org
Tue Jun 23 10:55:41 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: f2a09e6170e68f4892f3c7cb9d27a4365efa94e8
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=f2a09e6170e68f4892f3c7cb9d27a4365efa94e8

Author: Robert Yang <liezhi.yang at windriver.com>
Date:   Wed Jun 10 19:10:13 2015 -0700

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 <liezhi.yang at windriver.com>

---

 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 9b059d7..0873c24 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"



More information about the Openembedded-commits mailing list