sl@0: # sl@0: # Copyright (c) 2009 Symbian. All rights reserved. sl@0: # sl@0: sl@0: # macro for all the rules sl@0: define rom sl@0: sl@0: FINAL:: sl@0: ifeq ($(OSTYPE),unix) sl@0: $(call startrule,rom) \ sl@0: echo "This is not supported currently"; \ sl@0: $(call endrule,rom) sl@0: else sl@0: $(call startrule,rom) \ sl@0: $(PERL) $(EPOCROOT)/sf/os/kernelhwsrv/kernel/eka/rombuild/rom_sbs.pl --variant=$(REE_TARGET) --inst=$(PLATFORM) --build=$(CFG) --type=$(TYPE) --clean --name=$(REE_TARGET)_$(TYPE)_$(PLATFORM)_$(CFG).img \ sl@0: $(call endrule,rom) sl@0: endif sl@0: sl@0: FINAL:: sl@0: $(call startrule,copy) \ sl@0: mv rom.oby $(EPOCROOT)/epoc32/rom/$(REE_TARGET)/$(REE_TARGET)_$(TYPE)_$(PLATFORM)_$(CFG)_rom.oby; \ sl@0: mv ROMBUILD.LOG $(EPOCROOT)/epoc32/rom/$(REE_TARGET)/$(REE_TARGET)_$(TYPE)_$(PLATFORM)_$(CFG)_ROMBUILD.LOG; \ sl@0: mv $(REE_TARGET)_$(TYPE)_$(PLATFORM)_$(CFG).img $(EPOCROOT)/epoc32/rom/$(REE_TARGET)_$(TYPE)_$(PLATFORM)_$(CFG).img; \ sl@0: $(call endrule,copy) sl@0: sl@0: endef sl@0: sl@0: # expand sl@0: $(eval $(rom)) sl@0: sl@0: # The items produced by this FLM: sl@0: 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 sl@0: sl@0: ## What targets -- declare the files produced here sl@0: $(eval $(call whatmacro, $(RELEASEABLES))) sl@0: ## Clean up sl@0: $(eval $(call GenerateStandardCleanTarget, $(RELEASEABLES))) sl@0: sl@0: sl@0: