1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 02:34:06 +02:00

move the toolchain_install stampfile to the right place to fix spurious missing toolchain errors after cleaning stuff

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16776 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2009-07-11 12:48:59 +00:00
parent c41d46bc82
commit d975a4247b
2 changed files with 3 additions and 3 deletions

View File

@ -47,9 +47,9 @@ define subdir
$(foreach target,$(SUBTARGETS),$(call subtarget,$(1),$(target))) $(foreach target,$(SUBTARGETS),$(call subtarget,$(1),$(target)))
endef endef
# Parameters: <subdir> <name> <target> <depends> <config options> # Parameters: <subdir> <name> <target> <depends> <config options> <stampfile location>
define stampfile define stampfile
$(1)/stamp-$(3):=$(STAGING_DIR)/stamp/.$(2)_$(3)$(if $(5),_$(call confvar,$(5))) $(1)/stamp-$(3):=$(if $(6),$(6),$(STAGING_DIR))/stamp/.$(2)_$(3)$(if $(5),_$(call confvar,$(5)))
$$($(1)/stamp-$(3)): $(TMP_DIR)/.build $(4) $$($(1)/stamp-$(3)): $(TMP_DIR)/.build $(4)
@+$(SCRIPT_DIR)/timestamp.pl -n $$($(1)/stamp-$(3)) $(1) $(4) || \ @+$(SCRIPT_DIR)/timestamp.pl -n $$($(1)/stamp-$(3)) $(1) $(4) || \
$(MAKE) $$($(1)/flags-$(3)) $(1)/$(3) $(MAKE) $$($(1)/flags-$(3)) $(1)/$(3)

View File

@ -66,6 +66,6 @@ $(curdir)//install = $(1)/compile
$(TOOLCHAIN_DIR)/stamp/.gcc-initial_installed: $(TOOLCHAIN_DIR)/stamp/.gcc-initial_installed:
$(eval $(call stampfile,$(curdir),toolchain,install,$(TOOLCHAIN_DIR)/stamp/.gcc-initial_installed)) $(eval $(call stampfile,$(curdir),toolchain,install,$(TOOLCHAIN_DIR)/stamp/.gcc-initial_installed,,$(TOOLCHAIN_DIR)))
$(eval $(call subdir,$(curdir))) $(eval $(call subdir,$(curdir)))