avoid includes that aren't required for current target (make download)

SVN-Revision: 4045
This commit is contained in:
Mike Baker 2006-06-21 23:27:47 +00:00
parent 62b5f4818e
commit 858ab2e3f9

View file

@ -21,10 +21,6 @@ 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
@ -213,6 +209,9 @@ 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 \