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
master
Felix Fietkau 2006-06-21 23:45:47 +00:00
parent b39b3385e7
commit f28bcfca18
1 changed files with 4 additions and 3 deletions

View File

@ -21,6 +21,10 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
PKG_MENU:=IPv4 / IPv6 firewall administration PKG_MENU:=IPv4 / IPv6 firewall administration
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
ifeq ($(DUMP),)
-include $(LINUX_DIR)/.config
include $(INCLUDE_DIR)/netfilter.mk
endif
define Package/iptables define Package/iptables
SECTION:=net SECTION:=net
@ -209,9 +213,6 @@ define Package/ip6tables/install
endef endef
define BuildPlugin define BuildPlugin
include $(LINUX_DIR)/.config
include $(INCLUDE_DIR)/netfilter.mk
define Package/$(1)/install define Package/$(1)/install
install -m0755 -d $$(1)/usr/lib/iptables install -m0755 -d $$(1)/usr/lib/iptables
for m in $$(patsubst xt_%,ipt_%,$(2)); do \ for m in $$(patsubst xt_%,ipt_%,$(2)); do \