summaryrefslogtreecommitdiffstats
path: root/package/iptables
diff options
context:
space:
mode:
Diffstat (limited to 'package/iptables')
-rw-r--r--package/iptables/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index 35bba6dac..f8f590991 100644
--- a/package/iptables/Makefile
+++ b/package/iptables/Makefile
@@ -21,6 +21,10 @@ 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
@@ -209,9 +213,6 @@ 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 \