From: nbd Date: Mon, 6 Apr 2009 09:56:16 +0000 (+0000) Subject: add support for config options checking in top-level directory stampfiles X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=444b7593a6641d6670e883f3b06c00f083c89d0b add support for config options checking in top-level directory stampfiles git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15112 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/include/subdir.mk b/include/subdir.mk index 40e31923b..d4076e6c4 100644 --- a/include/subdir.mk +++ b/include/subdir.mk @@ -46,9 +46,9 @@ define subdir $(foreach target,$(SUBTARGETS),$(call subtarget,$(1),$(target))) endef -# Parameters: +# Parameters: define stampfile - $(1)/stamp-$(3):=$(STAGING_DIR)/stamp/.$(2)_$(3) + $(1)/stamp-$(3):=$(STAGING_DIR)/stamp/.$(2)_$(3)$(if $(5),_$(call confvar,$(5))) $$($(1)/stamp-$(3)): $(TMP_DIR)/.build $(4) @+$(SCRIPT_DIR)/timestamp.pl -n $$($(1)/stamp-$(3)) $(1) $(4) || \ $(MAKE) $$($(1)/flags-$(3)) $(1)/$(3)