improve autorebuild for iptables when the kernel config changes
SVN-Revision: 6652
This commit is contained in:
parent
000393712e
commit
8e85262a8b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue