Added LANG_O to simulators as well.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19171 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2008-11-21 15:27:16 +00:00
parent ac355de664
commit 6b96270856
2 changed files with 7 additions and 4 deletions

View file

@ -98,18 +98,19 @@ clean:
.SECONDEXPANSION: .SECONDEXPANSION:
ifndef SIMVER
ifeq (,$(findstring bootloader,$(APPSDIR))) ifeq (,$(findstring bootloader,$(APPSDIR)))
# not bootloader # not bootloader
OBJ += $(LANG_O)
ifndef SIMVER
## target build ## target build
RAMLDS := $(FIRMDIR)/target/$(CPU)/$(MANUFACTURER)/app.lds RAMLDS := $(FIRMDIR)/target/$(CPU)/$(MANUFACTURER)/app.lds
LINKRAM := $(BUILDDIR)/ram.link LINKRAM := $(BUILDDIR)/ram.link
ROMLDS := $(FIRMDIR)/rom.lds ROMLDS := $(FIRMDIR)/rom.lds
LINKROM := $(BUILDDIR)/rom.link LINKROM := $(BUILDDIR)/rom.link
OBJ += $(LANG_O)
$(LINKRAM): $(RAMLDS) $(LINKRAM): $(RAMLDS)
$(call PRINTS,PP $(@F)) $(call PRINTS,PP $(@F))
@ -180,8 +181,8 @@ $(MAXOUTFILE):
$(BUILDDIR)/rombox.iriver: $(BUILDDIR)/rombox.bin $(BUILDDIR)/rombox.iriver: $(BUILDDIR)/rombox.bin
$(call PRINTS,Build ROM file)$(MKFIRMWARE) $< $@ $(call PRINTS,Build ROM file)$(MKFIRMWARE) $< $@
endif # !bootloader
endif # !SIMVER endif # !SIMVER
endif # !bootloader
voicetools: voicetools:

View file

@ -22,6 +22,8 @@ OTHER_SRC += $(SIMSRC)
SIMLIB = $(BUILDDIR)/uisimulator/libuisimulator.a SIMLIB = $(BUILDDIR)/uisimulator/libuisimulator.a
UIBMP = $(BUILDDIR)/UI256.bmp UIBMP = $(BUILDDIR)/UI256.bmp
OBJ += $(LANG_O)
.SECONDEXPANSION: # $$(OBJ) is not populated until after this .SECONDEXPANSION: # $$(OBJ) is not populated until after this
$(SIMLIB): $$(SIMOBJ) $(UIBMP) $(SIMLIB): $$(SIMOBJ) $(UIBMP)