# HG changeset patch # User Dario Sestito # Date 1264174273 0 # Node ID 95b7851a2e80b8d71e4eed01c16f1dfc9e2d039b # Parent c02a2a09d864c324d0232c5578b2b7ea57fa9669 Bug 1606 - template_ext.flm wrongly creates dependencies to OTHER_CFG targets diff -r c02a2a09d864 -r 95b7851a2e80 sbsv2/raptor/lib/flm/template_ext.flm --- a/sbsv2/raptor/lib/flm/template_ext.flm Thu Jan 14 16:03:18 2010 +0000 +++ b/sbsv2/raptor/lib/flm/template_ext.flm Fri Jan 22 15:31:13 2010 +0000 @@ -85,7 +85,6 @@ UNIQ:=$(word 1,$(shell echo $(UNIQ) | $(GNUMD5SUM))) # Work out the other FINAL target if we're building both udeb and urel -ifneq ($($(UNIQ)),) ifeq ($(CFG),urel) OTHER_CFG:=udeb @@ -100,6 +99,7 @@ OTHER_CFG:=rel endif +ifneq ($($(UNIQ)_$(OTHER_CFG)),) OTHER_MAKMAKE:=$(UNIQ)_$(OTHER_CFG)_MAKMAKE OTHER_BLD:=$(UNIQ)_$(OTHER_CFG)_BLD OTHER_FREEZE:=$(UNIQ)_$(OTHER_CFG)_FREEZE @@ -111,7 +111,7 @@ endif # ifneq ($($(UNIQ)),) # Set $($(UNIQ)) so it can be detected if we're run again -$(UNIQ):=1 +$(UNIQ)_$(CFG):=1 tem_$(notdir $(TEMPLATE_EXTENSION_MAKEFILE))_$(PLATFORM)_$(CFG):=$(tem_$(notdir $(TEMPLATE_EXTENSION_MAKEFILE))_$(PLATFORM)_$(CFG)) $(UNIQ)_$(CFG)