From: Hu Yadi Date: Fri, 28 Mar 2014 09:43:04 +0000 (+0800) Subject: libpcap: add PACKAGECONFIG for libnl1 X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~34008 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52f16a5a56868137e17cf52fa7b664047ec7bcaf;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Hongxu Jia Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc index 3a08afecce8..a984e05ad4c 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"