aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/libpcap
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2012-04-06 19:01:51 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-03 15:00:24 +0100
commit78821b3a893c8934d0f0f54df46cdbbc37f082d8 (patch)
treed1033a42df35748db778f24a04a90ed5a6966895 /meta/recipes-connectivity/libpcap
parentc2bebf05752ec01144e32dbf2bbe4cfa86ae67df (diff)
downloadopenembedded-core-contrib-78821b3a893c8934d0f0f54df46cdbbc37f082d8.tar.gz
libpcap: use PACKAGECONFIG for bluetooth distro feature
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Diffstat (limited to 'meta/recipes-connectivity/libpcap')
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc
index 6051bbc474..427078f7e2 100644
--- a/meta/recipes-connectivity/libpcap/libpcap.inc
+++ b/meta/recipes-connectivity/libpcap/libpcap.inc
@@ -10,7 +10,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1d4b0366557951c84a94fabe3529f867 \
file://pcap.h;beginline=1;endline=34;md5=8d6cf7e17d5745010d633e30bc529ea9"
DEPENDS = "flex-native bison-native"
-INC_PR = "r0"
+PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluetooth', '', d)}"
+PACKAGECONFIG[bluetooth] = "--enable-bluetooth,--disable-bluetooth,bluez4"
+
+INC_PR = "r1"
SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz"