1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-07 17:23:16 +03:00

improve autorebuild for iptables when the kernel config changes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6652 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-03-23 19:19:23 +00:00
parent c324196256
commit 878bf6bcc7

View File

@ -24,6 +24,7 @@ include $(INCLUDE_DIR)/package.mk
ifeq ($(DUMP),) ifeq ($(DUMP),)
-include $(LINUX_DIR)/.config -include $(LINUX_DIR)/.config
include $(INCLUDE_DIR)/netfilter.mk include $(INCLUDE_DIR)/netfilter.mk
STAMP_CONFIGURED:=$(strip $(STAMP_CONFIGURED))_$(shell grep 'NETFILTER' $(LINUX_DIR)/.config | md5s)
endif endif
define Package/iptables/Default define Package/iptables/Default
@ -159,9 +160,8 @@ define Package/ip6tables
TITLE:=IPv6 firewall administration tool TITLE:=IPv6 firewall administration tool
endef endef
$(PKG_BUILD_DIR)/.configured: $(LINUX_DIR)/.config
define Build/Configure define Build/Configure
rm -f $(PKG_BUILD_DIR)/.configured*
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
clean clean
endef endef