summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/libpcap/libpcap.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-01-23 18:29:44 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-25 14:36:16 +0000
commit2a314eb41b2ad046d9cf7f21934e877fef4437ed (patch)
treea1286176fd7c2c25f23497229b45d12604aae0fe /meta/recipes-connectivity/libpcap/libpcap.inc
parent5916dcc1f357a624ecaa7cf9a4071fbf00447512 (diff)
downloadpoky-2a314eb41b2ad046d9cf7f21934e877fef4437ed.tar.gz
libpcap: Turn canusb support into PACKAGECONFIG
libpcap notices libusb in its configure if its sysrooted and ignores it if its not. But this causes problems since there is no explicit dependency on libusb. Rebuild from shared state sometimes fails when libusb has not been yet populated in sysroot and libpcap has. And do_configure of consumers of libpcap e.g. tcpdump are probing for features on libpcap. All the tests fail since none of link steps succeed and it sees as if libpcap does not have required features and configure of tcpdump bails out. turn canusb into PACKAGECONFIG and let it be disabled by default. Backport additional patches needed for disable-canusb to work (From OE-Core rev: a7cfc0ce9885c51ccefcaba001e6672d7b3e36e5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/libpcap/libpcap.inc')
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc
index 882c62cc02..c87066cad3 100644
--- a/meta/recipes-connectivity/libpcap/libpcap.inc
+++ b/meta/recipes-connectivity/libpcap/libpcap.inc
@@ -12,6 +12,7 @@ DEPENDS = "flex-native bison-native libnl"
12 12
13PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluetooth', '', d)}" 13PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluetooth', '', d)}"
14PACKAGECONFIG[bluetooth] = "--enable-bluetooth,--disable-bluetooth,bluez4" 14PACKAGECONFIG[bluetooth] = "--enable-bluetooth,--disable-bluetooth,bluez4"
15PACKAGECONFIG[canusb] = "--enable-canusb,--enable-canusb=no,libusb"
15 16
16INC_PR = "r4" 17INC_PR = "r4"
17 18