summaryrefslogtreecommitdiffstats
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:48:01 +0100
commita8bd795aa3188784137995b28943ad546d1a4ece (patch)
tree8e469026eea73f3f60646106753d227615e803bd
parentf855c3e6328da913360fa2e5ab5131a5b25aac2b (diff)
downloadpoky-a8bd795aa3188784137995b28943ad546d1a4ece.tar.gz
libpcap: use PACKAGECONFIG for bluetooth distro feature
(From OE-Core rev: 78821b3a893c8934d0f0f54df46cdbbc37f082d8) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 \
10 file://pcap.h;beginline=1;endline=34;md5=8d6cf7e17d5745010d633e30bc529ea9" 10 file://pcap.h;beginline=1;endline=34;md5=8d6cf7e17d5745010d633e30bc529ea9"
11DEPENDS = "flex-native bison-native" 11DEPENDS = "flex-native bison-native"
12 12
13INC_PR = "r0" 13PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluetooth', '', d)}"
14PACKAGECONFIG[bluetooth] = "--enable-bluetooth,--disable-bluetooth,bluez4"
15
16INC_PR = "r1"
14 17
15SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz" 18SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz"
16 19