mirror of
https://git.yoctoproject.org/poky
synced 2026-09-16 09:49:35 +02:00
libpcap.inc: consolidate inherit and PACKAGECONFIG lines
(From OE-Core rev: ce9fa5588acdf56e32bbdf9da512aa4071cf7266) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ddb122fa9a
commit
6cbfe0f354
@@ -10,25 +10,21 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1d4b0366557951c84a94fabe3529f867 \
|
|||||||
file://pcap.h;beginline=1;endline=32;md5=39af3510e011f34b8872f120b1dc31d2"
|
file://pcap.h;beginline=1;endline=32;md5=39af3510e011f34b8872f120b1dc31d2"
|
||||||
DEPENDS = "flex-native bison-native"
|
DEPENDS = "flex-native bison-native"
|
||||||
|
|
||||||
inherit bluetooth pkgconfig
|
|
||||||
|
|
||||||
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ}', '', d)}"
|
|
||||||
PACKAGECONFIG[bluez4] = "--enable-bluetooth,--disable-bluetooth,bluez4"
|
|
||||||
PACKAGECONFIG[canusb] = "--enable-canusb,--enable-canusb=no,libusb"
|
|
||||||
PACKAGECONFIG[libnl] = "--with-libnl,--without-libnl,libnl"
|
|
||||||
|
|
||||||
INC_PR = "r5"
|
INC_PR = "r5"
|
||||||
|
|
||||||
SRC_URI = "http://www.tcpdump.org/release/${BP}.tar.gz"
|
SRC_URI = "http://www.tcpdump.org/release/${BP}.tar.gz"
|
||||||
|
|
||||||
BINCONFIG = "${bindir}/pcap-config"
|
BINCONFIG = "${bindir}/pcap-config"
|
||||||
|
|
||||||
inherit autotools binconfig-disabled
|
inherit autotools binconfig-disabled pkgconfig bluetooth
|
||||||
|
|
||||||
EXTRA_OECONF = "--with-pcap=linux"
|
EXTRA_OECONF = "--with-pcap=linux"
|
||||||
|
|
||||||
PACKAGECONFIG ??= ""
|
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ}', '', d)}"
|
||||||
|
PACKAGECONFIG[bluez4] = "--enable-bluetooth,--disable-bluetooth,bluez4"
|
||||||
|
PACKAGECONFIG[canusb] = "--enable-canusb,--enable-canusb=no,libusb"
|
||||||
PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus"
|
PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus"
|
||||||
|
PACKAGECONFIG[libnl] = "--with-libnl,--without-libnl,libnl"
|
||||||
|
|
||||||
CPPFLAGS_prepend = "-I${S} "
|
CPPFLAGS_prepend = "-I${S} "
|
||||||
CFLAGS_prepend = "-I${S} "
|
CFLAGS_prepend = "-I${S} "
|
||||||
|
|||||||
Reference in New Issue
Block a user