X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=include%2Fsubdir.mk;h=0a3eff307ede504c6c931c38f7a764e211059cdb;hp=217d6bc3768c2a2755e4dd56b8cf4e33f79e4915;hb=8f8f0d95f722f2db222870db0666bde77f3c5de8;hpb=d7082d9ee087282e4d36cef88b50990c1d6a1d5f diff --git a/include/subdir.mk b/include/subdir.mk index 217d6bc376..0a3eff307e 100644 --- a/include/subdir.mk +++ b/include/subdir.mk @@ -37,13 +37,9 @@ endef # Parameters: define stampfile $(1)/stamp-$(3):=$(STAGING_DIR)/stamp/.$(2)_$(3) - $(if $(__rdep_$(1)),, - $(call rdep,$(1),$$($(1)/stamp-$(3)),) - __rdep_$(1):=1 - ) - - $$($(1)/stamp-$(3)): - @+$(MAKE) $$($(1)/flags-$(3)) $(1)/$(3) + $$($(1)/stamp-$(3)): $(TMP_DIR)/.build + @+$(SCRIPT_DIR)/timestamp.pl -n $$($(1)/stamp-$(3)) $(1) || \ + $(MAKE) $$($(1)/flags-$(3)) $(1)/$(3) @mkdir -p $$$$(dirname $$($(1)/stamp-$(3))) @touch $$($(1)/stamp-$(3))