|
@@ -11,6 +11,7 @@ LIBPCAP_LICENSE_FILES = LICENSE
|
|
LIBPCAP_CPE_ID_VENDOR = tcpdump
|
|
LIBPCAP_CPE_ID_VENDOR = tcpdump
|
|
LIBPCAP_INSTALL_STAGING = YES
|
|
LIBPCAP_INSTALL_STAGING = YES
|
|
LIBPCAP_DEPENDENCIES = host-flex host-bison host-pkgconf
|
|
LIBPCAP_DEPENDENCIES = host-flex host-bison host-pkgconf
|
|
|
|
+HOST_LIBPCAP_DEPENDENCIES = host-flex host-bison host-pkgconf
|
|
|
|
|
|
# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test
|
|
# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test
|
|
# provided by autoconf relies on wchar_t.
|
|
# provided by autoconf relies on wchar_t.
|
|
@@ -23,6 +24,13 @@ LIBPCAP_CONF_OPTS = --disable-yydebug --with-pcap=linux --without-dag \
|
|
--without-dpdk
|
|
--without-dpdk
|
|
# Disable dbus to break recursive dependencies
|
|
# Disable dbus to break recursive dependencies
|
|
LIBPCAP_CONF_OPTS += --disable-dbus
|
|
LIBPCAP_CONF_OPTS += --disable-dbus
|
|
|
|
+HOST_LIBPCAP_CONF_OPTS = \
|
|
|
|
+ --disable-bluetooth \
|
|
|
|
+ --disable-dbus \
|
|
|
|
+ --disable-yydebug \
|
|
|
|
+ --with-pcap=linux \
|
|
|
|
+ --without-dag \
|
|
|
|
+ --without-libnl
|
|
LIBPCAP_CONFIG_SCRIPTS = pcap-config
|
|
LIBPCAP_CONFIG_SCRIPTS = pcap-config
|
|
|
|
|
|
# Omit -rpath from pcap-config output
|
|
# Omit -rpath from pcap-config output
|
|
@@ -50,3 +58,4 @@ LIBPCAP_CFLAGS += -fPIC
|
|
endif
|
|
endif
|
|
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(autotools-package))
|
|
|
|
+$(eval $(host-autotools-package))
|