projects
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb97f11
)
tcpdump: fix tcpdump-mini broken in r19606
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 18 Feb 2010 21:38:10 +0000
(21:38 +0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 18 Feb 2010 21:38:10 +0000
(21:38 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19710
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
net/tcpdump/Makefile
patch
|
blob
|
history
diff --git
a/net/tcpdump/Makefile
b/net/tcpdump/Makefile
index
a6ec265
..
910c6c2
100644
(file)
--- a/
net/tcpdump/Makefile
+++ b/
net/tcpdump/Makefile
@@
-51,8
+51,7
@@
CONFIGURE_VARS += \
td_cv_buggygetaddrinfo="no" \
ac_cv_linux_vers=$(LINUX_VERSION)
-MAKE_FLAGS := \
- CCOPT="$(TARGET_CFLAGS)" INCLS="-I. $(TARGET_CPPFLAGS)"
+MAKE_FLAGS :=
ifeq ($(BUILD_VARIANT),mini)
TARGET_CFLAGS += -DTCPDUMP_MINI
@@
-60,6
+59,10
@@
ifeq ($(BUILD_VARIANT),mini)
MAKE_FLAGS += TCPDUMP_MINI=1
endif
+MAKE_FLAGS += \
+ CCOPT="$(TARGET_CFLAGS)" INCLS="-I. $(TARGET_CPPFLAGS)"
+
+
define Package/tcpdump/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/tcpdump $(1)/usr/sbin/