diff options
| -rw-r--r-- | meta/recipes-connectivity/libpcap/libpcap.inc | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc index 6f2c9854b7..9b059d7df6 100644 --- a/meta/recipes-connectivity/libpcap/libpcap.inc +++ b/meta/recipes-connectivity/libpcap/libpcap.inc | |||
| @@ -10,25 +10,21 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1d4b0366557951c84a94fabe3529f867 \ | |||
| 10 | file://pcap.h;beginline=1;endline=32;md5=39af3510e011f34b8872f120b1dc31d2" | 10 | file://pcap.h;beginline=1;endline=32;md5=39af3510e011f34b8872f120b1dc31d2" |
| 11 | DEPENDS = "flex-native bison-native" | 11 | DEPENDS = "flex-native bison-native" |
| 12 | 12 | ||
| 13 | inherit bluetooth pkgconfig | ||
| 14 | |||
| 15 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ}', '', d)}" | ||
| 16 | PACKAGECONFIG[bluez4] = "--enable-bluetooth,--disable-bluetooth,bluez4" | ||
| 17 | PACKAGECONFIG[canusb] = "--enable-canusb,--enable-canusb=no,libusb" | ||
| 18 | PACKAGECONFIG[libnl] = "--with-libnl,--without-libnl,libnl" | ||
| 19 | |||
| 20 | INC_PR = "r5" | 13 | INC_PR = "r5" |
| 21 | 14 | ||
| 22 | SRC_URI = "http://www.tcpdump.org/release/${BP}.tar.gz" | 15 | SRC_URI = "http://www.tcpdump.org/release/${BP}.tar.gz" |
| 23 | 16 | ||
| 24 | BINCONFIG = "${bindir}/pcap-config" | 17 | BINCONFIG = "${bindir}/pcap-config" |
| 25 | 18 | ||
| 26 | inherit autotools binconfig-disabled | 19 | inherit autotools binconfig-disabled pkgconfig bluetooth |
| 27 | 20 | ||
| 28 | EXTRA_OECONF = "--with-pcap=linux" | 21 | EXTRA_OECONF = "--with-pcap=linux" |
| 29 | 22 | ||
| 30 | PACKAGECONFIG ??= "" | 23 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ}', '', d)}" |
| 24 | PACKAGECONFIG[bluez4] = "--enable-bluetooth,--disable-bluetooth,bluez4" | ||
| 25 | PACKAGECONFIG[canusb] = "--enable-canusb,--enable-canusb=no,libusb" | ||
| 31 | PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus" | 26 | PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus" |
| 27 | PACKAGECONFIG[libnl] = "--with-libnl,--without-libnl,libnl" | ||
| 32 | 28 | ||
| 33 | CPPFLAGS_prepend = "-I${S} " | 29 | CPPFLAGS_prepend = "-I${S} " |
| 34 | CFLAGS_prepend = "-I${S} " | 30 | CFLAGS_prepend = "-I${S} " |
