Updated to support the WHAT and CLEAN commands by declaring that the FLM will generate 3 output files (IMG, LOG and OBY).
authorSimon Howkins <simonh@symbian.org>
Fri, 27 Nov 2009 12:28:52 +0000
changeset 6 248107124823
parent 5 4ab060f25417
child 7 0a6fb11f0655
Updated to support the WHAT and CLEAN commands by declaring that the FLM will generate 3 output files (IMG, LOG and OBY).
kernel/eka/rombuild/rom.flm
--- a/kernel/eka/rombuild/rom.flm	Wed Nov 25 13:35:01 2009 +0000
+++ b/kernel/eka/rombuild/rom.flm	Fri Nov 27 12:28:52 2009 +0000
@@ -26,5 +26,14 @@
 endef
 
 # expand
-# Will generate udeb and urel version! How????
 $(eval $(rom))
+
+# The items produced by this FLM:
+RELEASEABLES:=$(EPOCROOT)/epoc32/rom/$(REE_TARGET)/$(REE_TARGET)_$(TYPE)_$(PLATFORM)_$(CFG)_rom.oby $(EPOCROOT)/epoc32/rom/$(REE_TARGET)/$(REE_TARGET)_$(TYPE)_$(PLATFORM)_$(CFG)_ROMBUILD.LOG $(EPOCROOT)/epoc32/rom/$(REE_TARGET)_$(TYPE)_$(PLATFORM)_$(CFG).img
+
+## What targets -- declare the files produced here
+$(eval $(call whatmacro, $(RELEASEABLES)))
+## Clean up
+$(eval $(call GenerateStandardCleanTarget, $(RELEASEABLES)))
+
+