aboutsummaryrefslogtreecommitdiffstats
path: root/package/iptables/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-06-21 23:45:47 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-06-21 23:45:47 +0000
commitf28bcfca18ca8c16a9177e43797f5ed7b4f2c67e (patch)
tree72b5a37f5eb520c0b9c5501874957627171a94de /package/iptables/Makefile
parentb39b3385e7eb616e4db4622fbd55711fe7d0e002 (diff)
downloadupstream-f28bcfca18ca8c16a9177e43797f5ed7b4f2c67e.tar.gz
upstream-f28bcfca18ca8c16a9177e43797f5ed7b4f2c67e.tar.bz2
upstream-f28bcfca18ca8c16a9177e43797f5ed7b4f2c67e.zip
revert last change and add a different fix
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4046 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iptables/Makefile')
-rw-r--r--package/iptables/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index 35bba6dacb..f8f590991a 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 \