summaryrefslogtreecommitdiff
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-06-10 19:10:13 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-23 11:38:11 +0100
commitf2a09e6170e68f4892f3c7cb9d27a4365efa94e8 (patch)
tree7289e3982c1abd67b0aa639db82285b09b56a568 /meta/recipes-connectivity
parent503c7025522baa1b70336f84a26a15896e3303f3 (diff)
downloadopenembedded-core-f2a09e6170e68f4892f3c7cb9d27a4365efa94e8.tar.gz
openembedded-core-f2a09e6170e68f4892f3c7cb9d27a4365efa94e8.tar.bz2
openembedded-core-f2a09e6170e68f4892f3c7cb9d27a4365efa94e8.zip
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@windriver.com>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap.inc2
1 files changed, 2 insertions, 0 deletions
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"