aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-06-21 23:27:47 +0000
committerMike Baker <mbm@openwrt.org>2006-06-21 23:27:47 +0000
commitb39b3385e7eb616e4db4622fbd55711fe7d0e002 (patch)
tree327c4295c991fe5abfbabe8615b89a07edf3a8a9
parent7d0bc57afa3d78939019c22ca2a465e22c892fd5 (diff)
downloadupstream-b39b3385e7eb616e4db4622fbd55711fe7d0e002.tar.gz
upstream-b39b3385e7eb616e4db4622fbd55711fe7d0e002.tar.bz2
upstream-b39b3385e7eb616e4db4622fbd55711fe7d0e002.zip
avoid includes that aren't required for current target (make download)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4045 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/iptables/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index f1a7de1f4b..35bba6dacb 100644
--- a/package/iptables/Makefile
+++ b/package/iptables/Makefile
@@ -21,10 +21,6 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
PKG_MENU:=IPv4 / IPv6 firewall administration
include $(INCLUDE_DIR)/package.mk
-ifeq ($(DUMP),)
-include $(LINUX_DIR)/.config
-include $(INCLUDE_DIR)/netfilter.mk
-endif
define Package/iptables
SECTION:=net
@@ -213,6 +209,9 @@ define Package/ip6tables/install
endef
define BuildPlugin
+include $(LINUX_DIR)/.config
+include $(INCLUDE_DIR)/netfilter.mk
+
define Package/$(1)/install
install -m0755 -d $$(1)/usr/lib/iptables
for m in $$(patsubst xt_%,ipt_%,$(2)); do \