From a9d683ca912b2c4837b2e65909c09ca01babe3df Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 8 Sep 2007 19:55:42 +0000 Subject: major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets SVN-Revision: 8694 --- include/subdir.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/subdir.mk') diff --git a/include/subdir.mk b/include/subdir.mk index 40a06ed..68afcc4 100644 --- a/include/subdir.mk +++ b/include/subdir.mk @@ -34,10 +34,10 @@ 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)): $(TMP_DIR)/.build + $$($(1)/stamp-$(3)): $(TMP_DIR)/.build $(4) @+$(SCRIPT_DIR)/timestamp.pl -n $$($(1)/stamp-$(3)) $(1) $(4) || \ $(MAKE) $$($(1)/flags-$(3)) $(1)/$(3) @mkdir -p $$$$(dirname $$($(1)/stamp-$(3))) -- cgit v1.1