From e5997821744b807a356d0f67d0bd7066afa3b87b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 18 Feb 2010 21:38:10 +0000 Subject: [PATCH] tcpdump: fix tcpdump-mini broken in r19606 SVN-Revision: 19710 --- net/tcpdump/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/net/tcpdump/Makefile b/net/tcpdump/Makefile index a6ec2650f..910c6c296 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/ -- 2.30.2