summaryrefslogtreecommitdiff
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
commit858ab2e3f9a27fe59cad14c81cb219f5889429ff (patch)
treed10427d2beedd6417aad77ef69efc056089b4061
parent62b5f4818e793322a71026a9fbcc8860e2a9deca (diff)
downloadmtk-20170518-858ab2e3f9a27fe59cad14c81cb219f5889429ff.zip
mtk-20170518-858ab2e3f9a27fe59cad14c81cb219f5889429ff.tar.gz
mtk-20170518-858ab2e3f9a27fe59cad14c81cb219f5889429ff.tar.bz2
avoid includes that aren't required for current target (make download)
SVN-Revision: 4045
-rw-r--r--openwrt/package/iptables/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/openwrt/package/iptables/Makefile b/openwrt/package/iptables/Makefile
index f1a7de1..35bba6d 100644
--- a/openwrt/package/iptables/Makefile
+++ b/openwrt/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 \