X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=include%2Fsubdir.mk;fp=include%2Fsubdir.mk;h=3c1e3f9cae07814843e20c9ce4ecd69b7c899354;hb=d975a4247b2a8a3011d5c53b548aa6c837419d67;hp=d93d40fca7577844d291244f703e3a2195768118;hpb=c41d46bc820b939a98045b50e99d283f49fc44ff;p=openwrt.git diff --git a/include/subdir.mk b/include/subdir.mk index d93d40fca7..3c1e3f9cae 100644 --- a/include/subdir.mk +++ b/include/subdir.mk @@ -47,9 +47,9 @@ define subdir $(foreach target,$(SUBTARGETS),$(call subtarget,$(1),$(target))) endef -# Parameters: +# Parameters: 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) @+$(SCRIPT_DIR)/timestamp.pl -n $$($(1)/stamp-$(3)) $(1) $(4) || \ $(MAKE) $$($(1)/flags-$(3)) $(1)/$(3)