Patchwork [2/7] libpcap: add PACKAGECONFIG for libnl1

login
register
mail settings
Submitter Hongxu Jia
Date March 28, 2014, 9:43 a.m.
Message ID <ca82a8471a301a98abd4b655d2f05597e06cc9ab.1395996194.git.hongxu.jia@windriver.com>
Download mbox | patch
Permalink /patch/69521/
State Accepted
Commit 6b1d027728ae32097b2482d5f421b91a35d137df
Headers show

Comments

Hongxu Jia - March 28, 2014, 9:43 a.m.
From: Hu Yadi <Yadi.hu@windriver.com>

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>
---
 meta/recipes-connectivity/libpcap/libpcap.inc | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc
index 3a08afe..a984e05 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"