mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-13 23:33:32 +08:00
tcpreplay: cross-compile with tcpdump support
If tcpdump is enabled set ac_cv_path_tcpdump_path so that verbose output is enabled on the target. Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
99fa554bd6
commit
340ba1bec0
@ -18,4 +18,10 @@ TCPREPLAY_DEPENDENCIES = libpcap
|
||||
TCPREPLAY_LIBS = -lpcap $(if $(BR2_PACKAGE_LIBUSB),-lusb-1.0)
|
||||
TCPREPLAY_CONF_ENV += ac_cv_search_pcap_close='$(TCPREPLAY_LIBS)'
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TCPDUMP),y)
|
||||
TCPREPLAY_CONF_ENV += ac_cv_path_tcpdump_path=/usr/sbin/tcpdump
|
||||
else
|
||||
TCPREPLAY_CONF_ENV += ac_cv_path_tcpdump_path=no
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
Loading…
Reference in New Issue
Block a user