summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc
index b7601b05c7..7b29a52dcd 100644
--- a/meta/recipes-connectivity/libpcap/libpcap.inc
+++ b/meta/recipes-connectivity/libpcap/libpcap.inc
@@ -20,12 +20,15 @@ inherit autotools binconfig-disabled pkgconfig bluetooth
20 20
21EXTRA_OECONF = "--with-pcap=linux" 21EXTRA_OECONF = "--with-pcap=linux"
22 22
23PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ}', '', d)}" 23PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ}', '', d)} \
24 ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \
25"
24PACKAGECONFIG[bluez4] = "--enable-bluetooth,--disable-bluetooth,bluez4" 26PACKAGECONFIG[bluez4] = "--enable-bluetooth,--disable-bluetooth,bluez4"
25# Add a dummy PACKAGECONFIG for bluez5 since it is not supported by libpcap. 27# Add a dummy PACKAGECONFIG for bluez5 since it is not supported by libpcap.
26PACKAGECONFIG[bluez5] = ",," 28PACKAGECONFIG[bluez5] = ",,"
27PACKAGECONFIG[canusb] = "--enable-canusb,--enable-canusb=no,libusb" 29PACKAGECONFIG[canusb] = "--enable-canusb,--enable-canusb=no,libusb"
28PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus" 30PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus"
31PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
29PACKAGECONFIG[libnl] = "--with-libnl,--without-libnl,libnl" 32PACKAGECONFIG[libnl] = "--with-libnl,--without-libnl,libnl"
30 33
31CPPFLAGS_prepend = "-I${S} " 34CPPFLAGS_prepend = "-I${S} "