Skip to content
Snippets Groups Projects
Commit 858ab2e3 authored by Mike Baker's avatar Mike Baker
Browse files

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

SVN-Revision: 4045
parent 62b5f481
No related branches found
No related tags found
No related merge requests found
...@@ -21,10 +21,6 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install ...@@ -21,10 +21,6 @@ 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
...@@ -213,6 +209,9 @@ define Package/ip6tables/install ...@@ -213,6 +209,9 @@ 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 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment