# HG changeset patch
# User timothy.murphy@nokia.com
# Date 1272988611 -3600
# Node ID 206fd7d7ef46ebc2f2d9a89dd141505f20664c19
# Parent ac9057fc37f1666fd7c44dd9e33bfc9bfa0c13d9
Use TRACE_RELEASABLE_ID more consistently. Fix comment spelling.
diff -r ac9057fc37f1 -r 206fd7d7ef46 sbsv2/raptor/lib/flm/tracecompiler.mk
--- a/sbsv2/raptor/lib/flm/tracecompiler.mk Tue May 04 16:46:22 2010 +0100
+++ b/sbsv2/raptor/lib/flm/tracecompiler.mk Tue May 04 16:56:51 2010 +0100
@@ -28,9 +28,9 @@
$(if $(FLMDEBUG),$(info INCLUDES=$(USERINCLUDE) $(SYSTEMINCLUDE)))
$(if $(FLMDEBUG),$(info TARGET=$(TARGET) TARGETEXT=$(TARGETEXT)))
-# Find out TRACE_PATH by looking for the trace folser in SYSTEMINCLUDE and USERINCLUDES
+# Find out TRACE_PATH by looking for the trace folder in SYSTEMINCLUDE and USERINCLUDES
# traces/traces__
-TRACE_PATH:=$(call get_trace_path,/traces/traces_$(TARGET)_$(TARGETEXT))
+TRACE_PATH:=$(call get_trace_path,/traces/traces_$(TRACE_RELEASABLE_ID))
ifneq ($(TRACE_PATH),)
TRACE_PRJNAME:=$(TRACE_RELEASABLE_ID)
else # obsolete forms for compatibility
@@ -111,7 +111,7 @@
$(call startrule,tracecompile) \
( $(GNUCAT) $(TRACE_SOURCE_LIST); \
echo -en "*ENDOFSOURCEFILES*\n" ) | \
- $(JAVA_COMMAND) $(TRACE_COMPILER_START) -d --uid=$(UID_TC) --project=$(TRACE_PRJNAME) --mmp=$(PROJECT_META) --traces=$(TRACE_PATH) && \
+ $(JAVA_COMMAND) $(TRACE_COMPILER_START) $(if $(FLMDEBUG),-d,) --uid=$(UID_TC) --project=$(TRACE_PRJNAME) --mmp=$(PROJECT_META) --traces=$(TRACE_PATH) && \
$(GNUMD5SUM) $(TRACE_SOURCE_LIST) > $(TRACE_MARKER) && \
{ $(GNUTOUCH) $(TRACE_DICTIONARY) $(AUTOGEN_HEADER); \
$(GNUCAT) $(TRACE_SOURCE_LIST) ; true ; } \