diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-03-23 19:19:23 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-03-23 19:19:23 +0000 |
commit | 8e85262a8b9095291dae051ba21d6bb72daa8178 (patch) | |
tree | 50da06f4b41beb108c4a799b73b054fa1f713be0 /package/iptables/Makefile | |
parent | 000393712e9f30897feb5d592cc6901777494ab4 (diff) | |
download | master-31e0f0ae-8e85262a8b9095291dae051ba21d6bb72daa8178.tar.gz master-31e0f0ae-8e85262a8b9095291dae051ba21d6bb72daa8178.tar.bz2 master-31e0f0ae-8e85262a8b9095291dae051ba21d6bb72daa8178.zip |
improve autorebuild for iptables when the kernel config changes
SVN-Revision: 6652
Diffstat (limited to 'package/iptables/Makefile')
-rw-r--r-- | package/iptables/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile index 822be9976f..17b79d2fd8 100644 --- a/package/iptables/Makefile +++ b/package/iptables/Makefile @@ -24,6 +24,7 @@ include $(INCLUDE_DIR)/package.mk ifeq ($(DUMP),) -include $(LINUX_DIR)/.config include $(INCLUDE_DIR)/netfilter.mk + STAMP_CONFIGURED:=$(strip $(STAMP_CONFIGURED))_$(shell grep 'NETFILTER' $(LINUX_DIR)/.config | md5s) endif define Package/iptables/Default @@ -159,9 +160,8 @@ define Package/ip6tables TITLE:=IPv6 firewall administration tool endef -$(PKG_BUILD_DIR)/.configured: $(LINUX_DIR)/.config - define Build/Configure + rm -f $(PKG_BUILD_DIR)/.configured* $(MAKE) -C $(PKG_BUILD_DIR) \ clean endef |