From 32a56766a8fd913e6bb2e228e687aa3a3b3d9dc2 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Wed, 21 Jun 2006 23:45:47 +0000
Subject: [PATCH] revert last change and add a different fix

SVN-Revision: 4046
---
 openwrt/package/iptables/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/openwrt/package/iptables/Makefile b/openwrt/package/iptables/Makefile
index 35bba6dacb..f8f590991a 100644
--- a/openwrt/package/iptables/Makefile
+++ b/openwrt/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 \
-- 
GitLab