From: Felix Fietkau Date: Thu, 18 Feb 2010 21:38:10 +0000 (+0000) Subject: tcpdump: fix tcpdump-mini broken in r19606 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a5c002df8e436c36cf9eefbc09b9cf59ac0fb084;p=openwrt%2Fsvn-archive%2Farchive.git tcpdump: fix tcpdump-mini broken in r19606 SVN-Revision: 19710 --- diff --git a/net/tcpdump/Makefile b/net/tcpdump/Makefile index a6ec2650f0..910c6c2960 100644 --- 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/