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>
This commit is contained in:
parent
f855c3e632
commit
a8bd795aa3
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue