diff options
author | Hu Yadi <Yadi.hu@windriver.com> | 2014-03-28 17:43:04 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-30 10:10:36 +0100 |
commit | 6b1d027728ae32097b2482d5f421b91a35d137df (patch) | |
tree | 035c42e3295c8d1f2e1fad167989f3dca76fa005 /meta/recipes-connectivity/libpcap | |
parent | e1876b67156ef3151d797bf8e8d33594ea15291e (diff) | |
download | poky-6b1d027728ae32097b2482d5f421b91a35d137df.tar.gz |
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.
(From OE-Core rev: 52f16a5a56868137e17cf52fa7b664047ec7bcaf)
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>
Diffstat (limited to 'meta/recipes-connectivity/libpcap')
-rw-r--r-- | meta/recipes-connectivity/libpcap/libpcap.inc | 1 |
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" | |||
13 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluetooth', '', d)}" | 13 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluetooth', '', d)}" |
14 | PACKAGECONFIG[bluetooth] = "--enable-bluetooth,--disable-bluetooth,bluez4" | 14 | PACKAGECONFIG[bluetooth] = "--enable-bluetooth,--disable-bluetooth,bluez4" |
15 | PACKAGECONFIG[canusb] = "--enable-canusb,--enable-canusb=no,libusb" | 15 | PACKAGECONFIG[canusb] = "--enable-canusb,--enable-canusb=no,libusb" |
16 | PACKAGECONFIG[libnl1] = "--with-libnl,--without-libnl,libnl1,libnl1" | ||
16 | 17 | ||
17 | INC_PR = "r5" | 18 | INC_PR = "r5" |
18 | 19 | ||