mirror of
https://git.yoctoproject.org/poky
synced 2026-03-19 13:49:41 +01:00
libpcap: control ipv6 support based on DISTRO_FEATURES
Add PACKAGECONFIG for ipv6 and control it based on DISTRO_FEATURES. (From OE-Core rev: cfa74a2d4f158601a35b96e235484dac14cbf4d5) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
92ce5feca8
commit
33664673f5
@@ -20,12 +20,15 @@ inherit autotools binconfig-disabled pkgconfig bluetooth
|
||||
|
||||
EXTRA_OECONF = "--with-pcap=linux"
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ}', '', d)}"
|
||||
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ}', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \
|
||||
"
|
||||
PACKAGECONFIG[bluez4] = "--enable-bluetooth,--disable-bluetooth,bluez4"
|
||||
# Add a dummy PACKAGECONFIG for bluez5 since it is not supported by libpcap.
|
||||
PACKAGECONFIG[bluez5] = ",,"
|
||||
PACKAGECONFIG[canusb] = "--enable-canusb,--enable-canusb=no,libusb"
|
||||
PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus"
|
||||
PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
|
||||
PACKAGECONFIG[libnl] = "--with-libnl,--without-libnl,libnl"
|
||||
|
||||
CPPFLAGS_prepend = "-I${S} "
|
||||
|
||||
Reference in New Issue
Block a user