[oe-commits] Christopher Larson : libpcap: use PACKAGECONFIG for bluetooth distro feature

git at git.openembedded.org git at git.openembedded.org
Thu May 3 14:17:31 UTC 2012


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

Author: Christopher Larson <chris_larson at mentor.com>
Date:   Fri Apr  6 19:01:51 2012 -0500

libpcap: use PACKAGECONFIG for bluetooth distro feature

Signed-off-by: Christopher Larson <chris_larson at mentor.com>

---

 meta/recipes-connectivity/libpcap/libpcap.inc |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc
index 6051bbc..427078f 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"
 





More information about the Openembedded-commits mailing list