summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHu Yadi <Yadi.hu@windriver.com>2014-03-28 17:43:04 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-30 10:03:44 +0100
commit52f16a5a56868137e17cf52fa7b664047ec7bcaf (patch)
tree81aca54f1963607518e19096a07752f0e7fa1b5f
parentd78c4d51ed266c14b0425f6abf553392c6ebe408 (diff)
downloadopenembedded-core-contrib-52f16a5a56868137e17cf52fa7b664047ec7bcaf.tar.gz
openembedded-core-contrib-52f16a5a56868137e17cf52fa7b664047ec7bcaf.tar.bz2
openembedded-core-contrib-52f16a5a56868137e17cf52fa7b664047ec7bcaf.zip
libpcap: add PACKAGECONFIG for libnl1
Add --with-libnl autoconfig parameter and dependency between libpcap and libnl1. Disable libnl1 by default to avoid libpcap build error when libnl1 is involved. Signed-off-by: Hu Yadi <Yadi.hu@windriver.com> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 3a08afecce..a984e05ad4 100644
--- a/meta/recipes-connectivity/libpcap/libpcap.inc
+++ b/meta/recipes-connectivity/libpcap/libpcap.inc
@@ -13,6 +13,7 @@ DEPENDS = "flex-native bison-native libnl"
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluetooth', '', d)}"
PACKAGECONFIG[bluetooth] = "--enable-bluetooth,--disable-bluetooth,bluez4"
PACKAGECONFIG[canusb] = "--enable-canusb,--enable-canusb=no,libusb"
+PACKAGECONFIG[libnl1] = "--with-libnl,--without-libnl,libnl1,libnl1"
INC_PR = "r5"