libpcap cleanup
This commit is contained in:
parent
62354f041b
commit
78f528763b
@ -1,5 +1,6 @@
|
|||||||
config BR2_PACKAGE_LIBPCAP
|
config BR2_PACKAGE_LIBPCAP
|
||||||
bool "libpcap"
|
bool "libpcap"
|
||||||
|
select BR2_PACKAGE_ZLIB
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
A system-independent library for user-level network packet capture.
|
A system-independent library for user-level network packet capture.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#############################################################
|
#############################################################
|
||||||
#
|
#
|
||||||
# libpcap
|
# libpcap
|
||||||
#
|
#
|
||||||
#############################################################
|
#############################################################
|
||||||
# Copyright (C) 2001-2003 by Erik Andersen <andersen@codepoet.org>
|
# Copyright (C) 2001-2003 by Erik Andersen <andersen@codepoet.org>
|
||||||
@ -48,20 +48,10 @@ $(LIBPCAP_DIR)/.configured: $(LIBPCAP_DIR)/.unpacked
|
|||||||
--host=$(GNU_TARGET_NAME) \
|
--host=$(GNU_TARGET_NAME) \
|
||||||
--build=$(GNU_HOST_NAME) \
|
--build=$(GNU_HOST_NAME) \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--exec-prefix=/usr \
|
|
||||||
--bindir=/usr/bin \
|
|
||||||
--sbindir=/usr/sbin \
|
|
||||||
--libdir=/usr/lib \
|
|
||||||
--libexecdir=/usr/lib \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--datadir=/usr/share \
|
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--includedir=/usr/include \
|
--mandir=/usr/share/man \
|
||||||
--mandir=/usr/man \
|
--infodir=/usr/share/info \
|
||||||
--infodir=/usr/info \
|
|
||||||
--with-build-cc="$(HOSTCC)" \
|
|
||||||
--disable-yydebug \
|
--disable-yydebug \
|
||||||
--prefix=/usr \
|
|
||||||
--with-pcap=linux \
|
--with-pcap=linux \
|
||||||
$(DISABLE_IPV6) \
|
$(DISABLE_IPV6) \
|
||||||
)
|
)
|
||||||
@ -76,8 +66,9 @@ $(STAGING_DIR)/usr/lib/libpcap.a: $(LIBPCAP_DIR)/libpcap.a
|
|||||||
libpcap: uclibc zlib $(STAGING_DIR)/usr/lib/libpcap.a
|
libpcap: uclibc zlib $(STAGING_DIR)/usr/lib/libpcap.a
|
||||||
|
|
||||||
libpcap-clean:
|
libpcap-clean:
|
||||||
rm -f $(STAGING_DIR)/usr/include/pcap*.h \
|
rm -f $(addprefix $(STAGING_DIR)/usr/,include/pcap*.h \
|
||||||
$(STAGING_DIR)/usr/lib/libpcap.a
|
lib/libpcap.a \
|
||||||
|
share/man/man?/pcap.*)
|
||||||
-$(MAKE) -C $(LIBPCAP_DIR) clean
|
-$(MAKE) -C $(LIBPCAP_DIR) clean
|
||||||
|
|
||||||
libpcap-dirclean:
|
libpcap-dirclean:
|
||||||
|
Loading…
Reference in New Issue
Block a user