summaryrefslogtreecommitdiff
path: root/package/iptables/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-04-21 00:12:18 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-04-21 00:12:18 +0000
commit096afa4e695916a8068c82af6807f9b6de587c38 (patch)
tree8cbff4e11cbf04f4cf8ec750f8ab6b008c7ad939 /package/iptables/Makefile
parent021e6aa5f3691fe6fdf04a406a642575f46f284a (diff)
more cleanups and a new menuconfig generator
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3685 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iptables/Makefile')
-rw-r--r--package/iptables/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index 56ab594174..cc7c84a0d5 100644
--- a/package/iptables/Makefile
+++ b/package/iptables/Makefile
@@ -28,6 +28,8 @@ endif
define Package/iptables
SECTION:=net
CATEGORY:=Base system
+MENU:=1
+DEFAULT:=y
TITLE:=IPv4 firewall administration tool
URL:=http://netfilter.org/
endef
@@ -186,10 +188,6 @@ define Package/ip6tables/install
$(RSTRIP) $(1)
endef
-$(eval $(call BuildPackage,iptables))
-$(eval $(call BuildPackage,iptables-utils))
-$(eval $(call BuildPackage,ip6tables))
-
define BuildPlugin
define Package/$(1)/install
install -m0755 -d $$(1)/usr/lib/iptables
@@ -206,6 +204,8 @@ endef
L7_INSTALL:=mkdir -p $$(1)/etc/l7-protocols; \
$(CP) files/l7/*.pat $$(1)/etc/l7-protocols/
+$(eval $(call BuildPackage,iptables))
+$(eval $(call BuildPackage,iptables-utils))
$(eval $(call BuildPlugin,iptables-mod-conntrack,$(IPT_CONNTRACK-m)))
$(eval $(call BuildPlugin,iptables-mod-extra,$(IPT_EXTRA-m)))
$(eval $(call BuildPlugin,iptables-mod-filter,$(IPT_FILTER-m),$(L7_INSTALL)))
@@ -214,6 +214,7 @@ $(eval $(call BuildPlugin,iptables-mod-ipopt,$(IPT_IPOPT-m)))
$(eval $(call BuildPlugin,iptables-mod-ipsec,$(IPT_IPSEC-m)))
$(eval $(call BuildPlugin,iptables-mod-nat,$(IPT_NAT-m)))
$(eval $(call BuildPlugin,iptables-mod-ulog,$(IPT_ULOG-m)))
+$(eval $(call BuildPackage,ip6tables))
$(STAGING_DIR)/usr/lib/libipq.a: $(PKG_BUILD_DIR)/.built