revert last change and add a different fix
authorFelix Fietkau <nbd@openwrt.org>
Wed, 21 Jun 2006 23:45:47 +0000 (23:45 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 21 Jun 2006 23:45:47 +0000 (23:45 +0000)
SVN-Revision: 4046

openwrt/package/iptables/Makefile

index 35bba6dacb2ba7d90ddd94c0b9e4964b3f709e88..f8f590991afc972578d10f0633cf8cd1665395f6 100644 (file)
@@ -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 \