mirror of
https://git.yoctoproject.org/poky
synced 2026-04-22 15:32:14 +02:00
pcap: Drop custom staging function and use autotool_stage_all. Some hopefully legacy leftovers remain commented
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -7,7 +7,7 @@ PR = "r1"
|
||||
SRC_URI = "http://www.at.tcpdump.org/release/libpcap-${PV}.tar.gz \
|
||||
file://shared.patch;patch=1"
|
||||
|
||||
inherit autotools
|
||||
inherit autotools_stage
|
||||
|
||||
EXTRA_OECONF = "--with-pcap=linux"
|
||||
|
||||
@@ -21,12 +21,12 @@ do_configure_prepend () {
|
||||
fi
|
||||
}
|
||||
|
||||
do_stage () {
|
||||
install -m 0644 pcap.h ${STAGING_INCDIR}/pcap.h
|
||||
install -m 0644 pcap-namedb.h ${STAGING_INCDIR}/pcap-namedb.h
|
||||
install -m 0644 pcap-bpf.h ${STAGING_INCDIR}/pcap-bpf.h
|
||||
oe_libinstall -a -so libpcap ${STAGING_LIBDIR}
|
||||
install -d ${STAGING_INCDIR}/net
|
||||
ln -sf ${STAGING_INCDIR}/pcap-bpf.h ${STAGING_INCDIR}/net/bpf.h
|
||||
install -m 0644 acinclude.m4 ${STAGING_DATADIR}/aclocal/libpcap.m4
|
||||
}
|
||||
# Does anything really need these things?
|
||||
#do_stage () {
|
||||
# autotools_stage_all
|
||||
#
|
||||
# install -d ${STAGING_INCDIR}/net
|
||||
# ln -sf ${STAGING_INCDIR}/pcap-bpf.h ${STAGING_INCDIR}/net/bpf.h
|
||||
#
|
||||
# install -m 0644 acinclude.m4 ${STAGING_DATADIR}/aclocal/libpcap.m4
|
||||
#}
|
||||
|
||||
Reference in New Issue
Block a user