projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0003937
)
improve autorebuild for iptables when the kernel config changes
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 23 Mar 2007 19:19:23 +0000
(19:19 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 23 Mar 2007 19:19:23 +0000
(19:19 +0000)
SVN-Revision: 6652
package/iptables/Makefile
patch
|
blob
|
history
diff --git
a/package/iptables/Makefile
b/package/iptables/Makefile
index 822be9976f0bcf55e8022c581c2d647d87e115b7..17b79d2fd84b4d6b00e050bffad61bd274fcc8a4 100644
(file)
--- 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