aboutsummaryrefslogtreecommitdiffstats
path: root/package/iptables
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-23 19:19:23 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-23 19:19:23 +0000
commit8c04328d9bd7b548174dae62e9084ae3f8ba37cf (patch)
tree3c1d0d373285e57d881368f3f17de11f0fc493df /package/iptables
parent9da149dc051a94bb32a41f3bd2699f7898f24265 (diff)
downloadupstream-8c04328d9bd7b548174dae62e9084ae3f8ba37cf.tar.gz
upstream-8c04328d9bd7b548174dae62e9084ae3f8ba37cf.tar.bz2
upstream-8c04328d9bd7b548174dae62e9084ae3f8ba37cf.zip
improve autorebuild for iptables when the kernel config changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6652 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iptables')
-rw-r--r--package/iptables/Makefile4
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