mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
avoid includes that aren't required for current target (make download)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4045 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7d0bc57afa
commit
b39b3385e7
@ -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 \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user