summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-07 16:48:26 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-07 16:48:26 +0000
commit4108b66fe4cc659ad1bff6fa092ab60ab4d44f68 (patch)
tree50c4c5cce1ed9de1bdf406d1cd7d65f467079812
parent00f72f87e7733b0c1d798b1d45700ea68d1ed678 (diff)
add tcpdump build depend on libpcap
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@342 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--openwrt/package/Makefile1
-rw-r--r--openwrt/package/tcpdump/Config.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/openwrt/package/Makefile b/openwrt/package/Makefile
index ad05ebcc9..cea0a78d8 100644
--- a/openwrt/package/Makefile
+++ b/openwrt/package/Makefile
@@ -28,6 +28,7 @@ clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m)) linux-clean
compile: $(patsubst %,%-compile,$(package-y) $(package-m))
install: $(patsubst %,%-install,$(package-y))
+tcpdump-compile: libpcap-compile
dropbear-compile: zlib-compile
openssl-compile: zlib-compile
openvpn-compile: openssl-compile
diff --git a/openwrt/package/tcpdump/Config.in b/openwrt/package/tcpdump/Config.in
index 37956d64c..798101af6 100644
--- a/openwrt/package/tcpdump/Config.in
+++ b/openwrt/package/tcpdump/Config.in
@@ -1,4 +1,5 @@
config BR2_PACKAGE_TCPDUMP
+ select BR2_PACKAGE_LIBPCAP
tristate "tcpdump"
default m
help