sbsv2/raptor/lib/flm/e32abiv2.flm
branchfix
changeset 39 164b0547f8a5
parent 27 2e850dca8de6
child 71 ba3ff6a1ecab
child 161 62c28226cde4
equal deleted inserted replaced
6:29df63210f13 39:164b0547f8a5
   139   WHATRELEASE:=$(WHATRELEASE) $(if $(EXPLICITVERSION),,$(TMP_IMPORTLIBTARGET_ROOT).dso)
   139   WHATRELEASE:=$(WHATRELEASE) $(if $(EXPLICITVERSION),,$(TMP_IMPORTLIBTARGET_ROOT).dso)
   140   WHATRELEASE:=$(WHATRELEASE) $(VER_E32IMPORTLIBBASE).dso
   140   WHATRELEASE:=$(WHATRELEASE) $(VER_E32IMPORTLIBBASE).dso
   141   ifeq ($($(BUILDMARKER_IMPORTLIBTARGET_DSO)),)
   141   ifeq ($($(BUILDMARKER_IMPORTLIBTARGET_DSO)),)
   142     IMPORTLIBTARGET_DSO:=$(TMP_IMPORTLIBTARGET_ROOT).dso
   142     IMPORTLIBTARGET_DSO:=$(TMP_IMPORTLIBTARGET_ROOT).dso
   143     IMPORTLIBTARGETVERSIONED_DSO:=$(VER_E32IMPORTLIBBASE).dso
   143     IMPORTLIBTARGETVERSIONED_DSO:=$(VER_E32IMPORTLIBBASE).dso
   144     $(eval $(BUILDMARKER_IMPORTLIBTARGET_DSO):=1)
       
   145   endif
   144   endif
   146 
   145 
   147   # ABIv1 .lib (for specific builds, toolchains and host OS platforms only)
   146   # ABIv1 .lib (for specific builds, toolchains and host OS platforms only)
   148   IMPORTLIBTARGET_LIB:=
   147   IMPORTLIBTARGET_LIB:=
   149   IMPORTLIBTARGETVERSIONED_LIB:=
   148   IMPORTLIBTARGETVERSIONED_LIB:=
   154     WHATRELEASE:=$(WHATRELEASE) $(if $(EXPLICITVERSION),,$(TMP_IMPORTLIBTARGET_ROOT).lib)
   153     WHATRELEASE:=$(WHATRELEASE) $(if $(EXPLICITVERSION),,$(TMP_IMPORTLIBTARGET_ROOT).lib)
   155     WHATRELEASE:=$(WHATRELEASE) $(VER_E32IMPORTLIBBASE).lib
   154     WHATRELEASE:=$(WHATRELEASE) $(VER_E32IMPORTLIBBASE).lib
   156     ifeq ($($(BUILDMARKER_IMPORTLIBTARGET_LIB)),)
   155     ifeq ($($(BUILDMARKER_IMPORTLIBTARGET_LIB)),)
   157       IMPORTLIBTARGET_LIB:=$(TMP_IMPORTLIBTARGET_ROOT).lib
   156       IMPORTLIBTARGET_LIB:=$(TMP_IMPORTLIBTARGET_ROOT).lib
   158       IMPORTLIBTARGETVERSIONED_LIB:=$(VER_E32IMPORTLIBBASE).lib
   157       IMPORTLIBTARGETVERSIONED_LIB:=$(VER_E32IMPORTLIBBASE).lib
   159       $(eval $(BUILDMARKER_IMPORTLIBTARGET_LIB):=1)
       
   160     endif
   158     endif
   161   endif
   159   endif
   162   endif
   160   endif
   163 endif
   161 endif
   164 
   162 
   249 endif
   247 endif
   250 
   248 
   251 # ABIv2 .dso
   249 # ABIv2 .dso
   252 ifneq ($(IMPORTLIBTARGET_DSO),) # check that we haven't tried to specify this target already
   250 ifneq ($(IMPORTLIBTARGET_DSO),) # check that we haven't tried to specify this target already
   253 
   251 
       
   252   # By Now we're committed to producing a target for this DSO so it's safe to
       
   253   # set the marker that will prevent any further targets from being made.
       
   254   $(eval $(BUILDMARKER_IMPORTLIBTARGET_DSO):=1)
       
   255 
   254   ifneq ($(EXPLICITVERSION),)
   256   ifneq ($(EXPLICITVERSION),)
   255     TARGETS:=$(strip $(TARGETS) $(IMPORTLIBTARGETVERSIONED_DSO))
   257     TARGETS:=$(strip $(TARGETS) $(IMPORTLIBTARGETVERSIONED_DSO))
   256 
   258 
   257     # Add this importlibrary to our global targets
   259     # Add this importlibrary to our global targets
   258     LIBRARY:: $(IMPORTLIBTARGETVERSIONED_DSO)
   260     LIBRARY:: $(IMPORTLIBTARGETVERSIONED_DSO)
   277     define importlibtarget_unfrozen
   279     define importlibtarget_unfrozen
   278       $(IMPORTLIBTARGET_DSO): $(IMPORTLIBTARGETVERSIONED_DSO)
   280       $(IMPORTLIBTARGET_DSO): $(IMPORTLIBTARGETVERSIONED_DSO)
   279 		$(call startrule,importlibtarget_unfrozen,FORCESUCCESS) \
   281 		$(call startrule,importlibtarget_unfrozen,FORCESUCCESS) \
   280 		$(GNUCP) $$(call dblquote,$$<) $$(call dblquote,$$@) \
   282 		$(GNUCP) $$(call dblquote,$$<) $$(call dblquote,$$@) \
   281 		$(call endrule,importlibtarget_unfrozen)
   283 		$(call endrule,importlibtarget_unfrozen)
   282 
       
   283        CLEANTARGETS:=$$(CLEANTARGETS) $(IMPORTLIBTARGET_DSO)
       
   284 
       
   285     endef
   284     endef
   286 
   285 
   287     define importlibtarget_unfrozen_ver
   286     define importlibtarget_unfrozen_ver
   288       $(IMPORTLIBTARGETVERSIONED_DSO): $(E32TARGET)
   287       $(IMPORTLIBTARGETVERSIONED_DSO): $(E32TARGET)
   289 		$(call startrule,importlibversioned_unfrozen,FORCESUCCESS) \
   288 		$(call startrule,importlibversioned_unfrozen,FORCESUCCESS) \
   290 		$(GNUCP) "$(GENERATED_DSO)" "$$@" \
   289 		$(GNUCP) "$(GENERATED_DSO)" "$$@" \
   291 		$(call endrule,importlibversioned_unfrozen)
   290 		$(call endrule,importlibversioned_unfrozen)
   292 
       
   293       CLEANTARGETS:=$$(CLEANTARGETS) $(IMPORTLIBTARGET_DSO)
       
   294     endef
   291     endef
   295 
   292 
   296     ifeq ($(EXPLICITVERSION),)
   293     ifeq ($(EXPLICITVERSION),)
   297       # Generate the general dso if we aren't
   294       # Generate the general dso if we aren't
   298       # being asked to make just the specific version.
   295       # being asked to make just the specific version.
   305       define importlibtarget_func
   302       define importlibtarget_func
   306        $(IMPORTLIBTARGET_DSO): $(IMPORTLIBTARGETVERSIONED_DSO)
   303        $(IMPORTLIBTARGET_DSO): $(IMPORTLIBTARGETVERSIONED_DSO)
   307 	   $(call startrule,importlibtarget,FORCESUCCESS) \
   304 	   $(call startrule,importlibtarget,FORCESUCCESS) \
   308 	   $(GNUCP) "$$<" "$$@" \
   305 	   $(GNUCP) "$$<" "$$@" \
   309 	   $(call endrule,importlibtarget)
   306 	   $(call endrule,importlibtarget)
   310 
       
   311           CLEANTARGETS:=$$(CLEANTARGETS) $(IMPORTLIBTARGET_DSO)
       
   312       endef
   307       endef
   313 
   308 
   314       ifeq ($(EXPLICITVERSION),)
   309       ifeq ($(EXPLICITVERSION),)
   315           # Generate the general dso if we aren't
   310           # Generate the general dso if we aren't
   316           # being asked to make just the specific version.
   311           # being asked to make just the specific version.
   323 	      $(ELF2E32) --sid=0x$(if $(SID),$(SID),$(if $(UID3),$(UID3),0))  --version=$(VERSION)  	   \
   318 	      $(ELF2E32) --sid=0x$(if $(SID),$(SID),$(if $(UID3),$(UID3),0))  --version=$(VERSION)  	   \
   324 	 	  --definput="$(PREPPEDDEFFILE)" 				   \
   319 	 	  --definput="$(PREPPEDDEFFILE)" 				   \
   325 	 	  --dso=$$(call dblquote,$$@) 				   \
   320 	 	  --dso=$$(call dblquote,$$@) 				   \
   326 	 	  --linkas=$(call dblquote,$(LINKASVERSIONED)) \
   321 	 	  --linkas=$(call dblquote,$(LINKASVERSIONED)) \
   327 	      $(call endrule,importlibversioned)
   322 	      $(call endrule,importlibversioned)
   328 
       
   329               CLEANTARGETS:=$$(CLEANTARGETS) $(IMPORTLIBTARGETVERSIONED_DSO)
       
   330       endef
   323       endef
   331       $(eval $(importlibtargetversioned_func))
   324       $(eval $(importlibtargetversioned_func))
   332     endif #  ifneq ($(DEFFILE),)
   325     endif #  ifneq ($(DEFFILE),)
   333   endif #  ifneq ($(EXPORTUNFROZEN),)
   326   endif #  ifneq ($(EXPORTUNFROZEN),)
   334 endif #  ifneq ($(IMPORTLIBTARGET_DSO),)
   327 endif #  ifneq ($(IMPORTLIBTARGET_DSO),)
   335 
   328 
   336 # ABIv1 .lib
   329 # ABIv1 .lib
   337 ifneq ($(IMPORTLIBTARGETVERSIONED_LIB),) # check that we haven't tried to specify this target already
   330 ifneq ($(IMPORTLIBTARGETVERSIONED_LIB),) # check that we haven't tried to specify this target already
   338   CLEANTARGETS:=$(CLEANTARGETS) $(IMPORTLIBTARGETVERSIONED_LIB) $(IMPORTLIBTARGET_LIB)
   331 
       
   332   # By Now we're committed to producing a target for this DSO so it's safe to
       
   333   # set the marker that will prevent any further targets from being made.
       
   334   $(eval $(BUILDMARKER_IMPORTLIBTARGET_LIB):=1)
   339 
   335 
   340   define abiv1_generatelib
   336   define abiv1_generatelib
   341 
   337 
   342     ifeq ($(EXPLICITVERSION),)
   338     ifeq ($(EXPLICITVERSION),)
   343       LIBRARY:: $(IMPORTLIBTARGETVERSIONED_LIB) $(IMPORTLIBTARGET_LIB)
   339       LIBRARY:: $(IMPORTLIBTARGETVERSIONED_LIB) $(IMPORTLIBTARGET_LIB)
   532 	$(if $(DUMPBCINFO),&& $(FROMELF) -v $$@  > $$@.elfdump,)  \
   528 	$(if $(DUMPBCINFO),&& $(FROMELF) -v $$@  > $$@.elfdump,)  \
   533 	$(call endrule,ar)
   529 	$(call endrule,ar)
   534 endef
   530 endef
   535 $(eval $(artarget_func))
   531 $(eval $(artarget_func))
   536 
   532 
   537 CLEANTARGETS:=$(CLEANTARGETS) $(VIAFILE) $(ARTARGET) $(if $(DUMPBCINFO),$(ARTARGET).elfdump,)
   533 CLEANTARGETS:=$(CLEANTARGETS) $(VIAFILE) $(if $(DUMPBCINFO),$(ARTARGET).elfdump,)
   538 endif
   534 endif
   539 
   535 
   540 
   536 
   541 
   537 
   542 # Targettype is some type of DLL or EXE (or derivative)
   538 # Targettype is some type of DLL or EXE (or derivative)
   603 	$(if $(PERTURBSTARTTIME),$(RANSLEEP) $(PERTURBMSECS) ;,) \
   599 	$(if $(PERTURBSTARTTIME),$(RANSLEEP) $(PERTURBMSECS) ;,) \
   604 	$(if $(SUPPORTS_STDCPP_NEWLIB),$(if $(located_STATICLIBRARIES),$(CHECKLIB) $(CHECKLIB_TYPE) --elf $(call dblquote,$(located_STATICLIBRARIES)) &&,),) \
   600 	$(if $(SUPPORTS_STDCPP_NEWLIB),$(if $(located_STATICLIBRARIES),$(CHECKLIB) $(CHECKLIB_TYPE) --elf $(call dblquote,$(located_STATICLIBRARIES)) &&,),) \
   605 	$(LD) $(LINKER_MISC_FLAGS) $(LINKER_DEFAULT_LIB_PATHS) $(SYMBIAN_LINK_FLAGS) $(if $(DEBUG_INFO),$(LINKER_DEBUG_OPTION),$(LINKER_NODEBUG_OPTION)) \
   601 	$(LD) $(LINKER_MISC_FLAGS) $(LINKER_DEFAULT_LIB_PATHS) $(SYMBIAN_LINK_FLAGS) $(if $(DEBUG_INFO),$(LINKER_DEBUG_OPTION),$(LINKER_NODEBUG_OPTION)) \
   606 	  $(if $(ARMLIBS),$(LD_WARNINGS_SUPPRESSION_ARMLIBS),) \
   602 	  $(if $(ARMLIBS),$(LD_WARNINGS_SUPPRESSION_ARMLIBS),) \
   607 	  $(SHARED_OBJECT_OPTION) $(SPLIT_OPTION) \
   603 	  $(SHARED_OBJECT_OPTION) $(SPLIT_OPTION) \
   608 	  $(RW_BASE_OPTION) 0x400000 \
   604 	  $(RW_BASE) \
   609 	  $(LINKER_ARCH_OPTION) \
   605 	  $(LINKER_ARCH_OPTION) \
   610 	  $(SYMVER_OPTION) $(SO_NAME_OPTION) $(call dblquote,$(LINKASVERSIONED)) \
   606 	  $(SYMVER_OPTION) $(SO_NAME_OPTION)=$(call dblquote,$(LINKASVERSIONED)) \
   611 	  $(LINKER_ENTRYPOINT_SETTING) \
   607 	  $(LINKER_ENTRYPOINT_SETTING) \
   612 	  -o $$(call dblquote,$$@) \
   608 	  -o $$(call dblquote,$$@) \
   613 	  $(if $(LTCG),$(LTCG_OPTION),) \
   609 	  $(if $(LTCG),$(LTCG_OPTION),) \
   614 	  $(LINKER_SYMBOLS_OPTION) $(LINKER_SYMBOLS_FILE_OPTION) \
   610 	  $(LINKER_SYMBOLS_OPTION) $(LINKER_SYMBOLS_FILE_OPTION)=$(call dblquote,$(MAPFILE)) \
   615 	  $(call dblquote,$(MAPFILE)) \
       
   616   	  $(LINKEROPTION) \
   611   	  $(LINKEROPTION) \
   617 	  $(if $(MULTIFILE_ENABLED),$(call dblquote,$(MULTIFILEOBJECT) $(CIAFILES_LINKOBJECTS)),$(COMMANDFILE_OPTION)$(call dblquote,$(VIAFILE))) \
   612 	  $(if $(MULTIFILE_ENABLED),$(call dblquote,$(MULTIFILEOBJECT) $(CIAFILES_LINKOBJECTS)),$(COMMANDFILE_OPTION)$(call dblquote,$(VIAFILE))) \
   618           $(if $(GENERATELINKERFEEDBACK),$(FEEDBACK_OPTION)$(call dblquote,$(FEEDBACKFILE))) \
   613           $(if $(GENERATELINKERFEEDBACK),$(FEEDBACK_OPTION)$(call dblquote,$(FEEDBACKFILE))) \
   619 	  $(if $(LINKER_ADD_STATIC_RUNTIME),$(if $(STATIC_RUNTIME_LIB),$(LINKER_GROUP_START_OPTION) $(STATIC_RUNTIME_DIR)/$(STATIC_RUNTIME_LIB) $(LINKER_GROUP_END_OPTION),)) \
   614 	  $(if $(LINKER_ADD_STATIC_RUNTIME),$(if $(STATIC_RUNTIME_LIB),$(LINKER_GROUP_START_OPTION) $(STATIC_RUNTIME_DIR)/$(STATIC_RUNTIME_LIB) $(LINKER_GROUP_END_OPTION),)) \
   620 	  $(quoted_e32abiv2_LIBS) $(LINKER_DEFAULT_LIBS)\
   615 	  $(quoted_e32abiv2_LIBS) $(LINKER_DEFAULT_LIBS)\
   622 
   617 
   623 $(MAPFILE): $(LINK_TARGET)
   618 $(MAPFILE): $(LINK_TARGET)
   624 endef
   619 endef
   625 $(eval $(linktarget_func))
   620 $(eval $(linktarget_func))
   626 
   621 
   627 CLEANTARGETS:=$(CLEANTARGETS) $(LINK_TARGET) $(if $(GENERATELINKERFEEDBACK),$(FEEDBACKFILE)) $(if $(MULTIFILE_ENABLED),$(MULTIFILEOBJECT))
   622 CLEANTARGETS:=$(CLEANTARGETS) $(VIAFILE) $(if $(GENERATELINKERFEEDBACK),$(FEEDBACKFILE)) $(if $(MULTIFILE_ENABLED),$(MULTIFILEOBJECT))
   628 CLEANTARGETS:=$(CLEANTARGETS) $(VIAFILE)
       
   629 CLEANTARGETS:=$(CLEANTARGETS) $(MAPFILE)
       
   630 WHATRELEASE:=$(WHATRELEASE) $(MAPFILE)
   623 WHATRELEASE:=$(WHATRELEASE) $(MAPFILE)
   631 
   624 
   632 endif # if TARGETTYPE lib
   625 endif # if TARGETTYPE lib
   633 
   626 
   634 
   627 
   654   $(CC_WARNINGS_CONTROL_OPTION) $(CC_ERRORS_CONTROL_OPTION) \
   647   $(CC_WARNINGS_CONTROL_OPTION) $(CC_ERRORS_CONTROL_OPTION) \
   655   $(TARGET_ARCH_OPTION) $(ENUM_OPTION) $(OWN_LIBRARY_OPTION) $(FPMODE_OPTION) \
   648   $(TARGET_ARCH_OPTION) $(ENUM_OPTION) $(OWN_LIBRARY_OPTION) $(FPMODE_OPTION) \
   656   $(EXPORT_VTBL_OPTION) $(NO_UNALIGNED_ACCESS) $(VFE_OPTION) $(AAPCS_OPTION) \
   649   $(EXPORT_VTBL_OPTION) $(NO_UNALIGNED_ACCESS) $(VFE_OPTION) $(AAPCS_OPTION) \
   657   $(CPPONLYOPTION) $(INSTRUCTION_SET) \
   650   $(CPPONLYOPTION) $(INSTRUCTION_SET) \
   658   $(if $(ALWAYS_BUILD_AS_ARM),$(ARM_INSTRUCTION_SET),$(THUMB_INSTRUCTION_SET) $(call makemacrodef,-D,$(COMPILER_THUMB_DEFINES))) \
   651   $(if $(ALWAYS_BUILD_AS_ARM),$(ARM_INSTRUCTION_SET),$(THUMB_INSTRUCTION_SET) $(call makemacrodef,-D,$(COMPILER_THUMB_DEFINES))) \
   659   $(COMPILER_FPU_FLAGS)
   652   $(COMPILER_FPU_OPTION)$(if $(ARMFPU),$(ARMFPU),$(COMPILER_FPU_DEFAULT))
   660 
   653 
   661 ## COMPILE CPP Files #################################################################
   654 ## COMPILE CPP Files #################################################################
   662 
   655 
   663 # For ARMCC we can compile all sourcefiles with one invocation
   656 # For ARMCC we can compile all sourcefiles with one invocation
   664 # The pathprep macro is used to make sure that forward slashes in options
   657 # The pathprep macro is used to make sure that forward slashes in options
   673   $(CC_WARNINGS_CONTROL_OPTION) $(CC_ERRORS_CONTROL_OPTION) \
   666   $(CC_WARNINGS_CONTROL_OPTION) $(CC_ERRORS_CONTROL_OPTION) \
   674   $(TARGET_ARCH_OPTION) $(ENUM_OPTION) $(OWN_LIBRARY_OPTION) $(FPMODE_OPTION) \
   667   $(TARGET_ARCH_OPTION) $(ENUM_OPTION) $(OWN_LIBRARY_OPTION) $(FPMODE_OPTION) \
   675   $(EXPORT_VTBL_OPTION) $(NO_UNALIGNED_ACCESS) $(VFE_OPTION) $(AAPCS_OPTION) \
   668   $(EXPORT_VTBL_OPTION) $(NO_UNALIGNED_ACCESS) $(VFE_OPTION) $(AAPCS_OPTION) \
   676   $(COMPILE_ONLY_OPTION) $(INSTRUCTION_SET) \
   669   $(COMPILE_ONLY_OPTION) $(INSTRUCTION_SET) \
   677   $(if $(ALWAYS_BUILD_AS_ARM),$(ARM_INSTRUCTION_SET),$(THUMB_INSTRUCTION_SET) $(call makemacrodef,-D,$(COMPILER_THUMB_DEFINES))) \
   670   $(if $(ALWAYS_BUILD_AS_ARM),$(ARM_INSTRUCTION_SET),$(THUMB_INSTRUCTION_SET) $(call makemacrodef,-D,$(COMPILER_THUMB_DEFINES))) \
   678   $(COMPILER_FPU_FLAGS)
   671   $(COMPILER_FPU_OPTION)$(if $(ARMFPU),$(ARMFPU),$(COMPILER_FPU_DEFAULT))
   679 
   672 
   680 ifeq ($(STDCPP),1)
   673 ifeq ($(STDCPP),1)
   681 SYSTEMINCLUDE:=$(SYSTEMINCLUDE) $(call concat, $(COMPILER_SYSTEM_INCLUDE_OPTION),$(call dblquote,$(STDCPP_INCLUDE)))
   674 SYSTEMINCLUDE:=$(SYSTEMINCLUDE) $(call concat, $(COMPILER_SYSTEM_INCLUDE_OPTION),$(call dblquote,$(STDCPP_INCLUDE)))
   682 endif
   675 endif
   683 
   676 
  1130 
  1123 
  1131     # Keep track of variant type while romfile is being created
  1124     # Keep track of variant type while romfile is being created
  1132     PREVIOUSVARIANTTYPE:=$(VARIANTTYPE)
  1125     PREVIOUSVARIANTTYPE:=$(VARIANTTYPE)
  1133 
  1126 
  1134     WHATRELEASE:=$(WHATRELEASE) $(ROMFILENAME)
  1127     WHATRELEASE:=$(WHATRELEASE) $(ROMFILENAME)
  1135     CLEANTARGETS:=$(CLEANTARGETS) $(ROMFILENAME)
       
  1136 endif
  1128 endif
  1137 
  1129 
  1138 # Deal with test code batch files generation.
  1130 # Deal with test code batch files generation.
  1139 ifneq ($(TESTPATH),)
  1131 ifneq ($(TESTPATH),)
  1140 
  1132 
  1141     CREATABLEPATHS:=$(CREATABLEPATHS) $(EPOCROOT)/epoc32/data/z/test/
  1133     CREATABLEPATHS:=$(CREATABLEPATHS) $(EPOCROOT)/epoc32/data/z/test/
  1142     $(eval $(call MakeTestBatchFiles,$(TARGET),$(EPOCROOT)/epoc32/data/z/test/$(MODULE)/$(VARIANTPLATFORM).$(TESTPATH)))
  1134     $(eval $(call MakeTestBatchFiles,$(TARGET),$(EPOCROOT)/epoc32/data/z/test/$(MODULE)/$(VARIANTPLATFORM).$(TESTPATH)))
  1143     BATCHFILE_CREATED_$(EPOCROOT)/epoc32/data/z/test/$(MODULE)/$(VARIANTPLATFORM).$(TESTPATH):=1
  1135     BATCHFILE_CREATED_$(EPOCROOT)/epoc32/data/z/test/$(MODULE)/$(VARIANTPLATFORM).$(TESTPATH):=1
  1144     TARGET_CREATED_$(EPOCROOT)/epoc32/data/z/test/$(MODULE)/$(VARIANTPLATFORM).$(TESTPATH)_$(TARGET):=1
  1136     TARGET_CREATED_$(EPOCROOT)/epoc32/data/z/test/$(MODULE)/$(VARIANTPLATFORM).$(TESTPATH)_$(TARGET):=1
  1145     WHATRELEASE:=$(WHATRELEASE) $(EPOCROOT)/epoc32/data/z/test/$(MODULE)/$(VARIANTPLATFORM).$(TESTPATH)
  1137     WHATRELEASE:=$(WHATRELEASE) $(EPOCROOT)/epoc32/data/z/test/$(MODULE)/$(VARIANTPLATFORM).$(TESTPATH)
  1146     CLEANTARGETS:=$(CLEANTARGETS) $(EPOCROOT)/epoc32/data/z/test/$(MODULE)/$(VARIANTPLATFORM).$(TESTPATH)
       
  1147 endif
  1138 endif
  1148 
  1139 
  1149 ###################### End of Build ROMFILE target ######################
  1140 ###################### End of Build ROMFILE target ######################
  1150 
  1141 
  1151 # Feature Variation requires a .vmap file to be created for each binary
  1142 # Feature Variation requires a .vmap file to be created for each binary
  1181 
  1172 
  1182 # make the output directories while reading makefile - some build engines prefer this
  1173 # make the output directories while reading makefile - some build engines prefer this
  1183 $(call makepath,$(CREATABLEPATHS))
  1174 $(call makepath,$(CREATABLEPATHS))
  1184 
  1175 
  1185 ## Clean up
  1176 ## Clean up
  1186 $(eval $(call GenerateStandardCleanTarget,$(CLEANTARGETS) ,$(CREATABLEPATHS),))
  1177 $(call raptor_clean,$(CLEANTARGETS))
  1187 
  1178 
  1188 # For the abld -what target
  1179 # For the --what option and the log file
  1189 $(eval $(call whatmacro,$(filter-out %.sym,$(WHATRELEASE)),WHATARMV5))
  1180 $(call raptor_release,$(filter-out %.sym,$(WHATRELEASE)))
  1190 
  1181 
  1191 endif # FEATUREVARIANTNAME=="" or FEATUREVARIANT==1
  1182 endif # FEATUREVARIANTNAME=="" or FEATUREVARIANT==1
  1192 
  1183 
  1193 ## The End
  1184 ## The End
  1194 
  1185