Added skin_parser library to build system.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26885 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2010-06-17 11:10:00 +00:00
parent f1a144a077
commit ccaec76d55

View file

@ -58,6 +58,7 @@ include $(TOOLSDIR)/tools.make
ifeq (,$(findstring checkwps,$(APPSDIR))) ifeq (,$(findstring checkwps,$(APPSDIR)))
ifeq (,$(findstring database,$(APPSDIR))) ifeq (,$(findstring database,$(APPSDIR)))
include $(FIRMDIR)/firmware.make include $(FIRMDIR)/firmware.make
include $(ROOTDIR)/lib/skin_parser/skin_parser.make
include $(ROOTDIR)/apps/bitmaps/bitmaps.make include $(ROOTDIR)/apps/bitmaps/bitmaps.make
endif endif
endif endif
@ -158,14 +159,14 @@ $(LINKROM): $(ROMLDS)
$(call PRINTS,PP $(@F)) $(call PRINTS,PP $(@F))
$(call preprocess2file,$<,$@,-DLOADADDRESS=$(LOADADDRESS)) $(call preprocess2file,$<,$@,-DLOADADDRESS=$(LOADADDRESS))
$(BUILDDIR)/rockbox.elf : $$(OBJ) $$(FIRMLIB) $$(VOICESPEEXLIB) $$(LINKRAM) $(BUILDDIR)/rockbox.elf : $$(OBJ) $$(FIRMLIB) $$(VOICESPEEXLIB) $$(SKINLIB) $$(LINKRAM)
$(call PRINTS,LD $(@F))$(CC) $(GCCOPTS) -Os -nostdlib -o $@ $(OBJ) \ $(call PRINTS,LD $(@F))$(CC) $(GCCOPTS) -Os -nostdlib -o $@ $(OBJ) \
-L$(BUILDDIR)/firmware -lfirmware \ -L$(BUILDDIR)/firmware -lfirmware \
-L$(BUILDDIR)/apps/codecs $(VOICESPEEXLIB:lib%.a=-l%) \ -L$(BUILDDIR)/apps/codecs $(VOICESPEEXLIB:lib%.a=-l%) \
-lgcc $(BOOTBOXLDOPTS) \ -lgcc $(BOOTBOXLDOPTS) \
-T$(LINKRAM) -Wl,-Map,$(BUILDDIR)/rockbox.map -T$(LINKRAM) -Wl,-Map,$(BUILDDIR)/rockbox.map
$(BUILDDIR)/rombox.elf : $$(OBJ) $$(FIRMLIB) $$(VOICESPEEXLIB) $$(LINKROM) $(BUILDDIR)/rombox.elf : $$(OBJ) $$(FIRMLIB) $$(VOICESPEEXLIB) $$(SKINLIB) $$(LINKROM)
$(call PRINTS,LD $(@F))$(CC) $(GCCOPTS) -Os -nostdlib -o $@ $(OBJ) \ $(call PRINTS,LD $(@F))$(CC) $(GCCOPTS) -Os -nostdlib -o $@ $(OBJ) \
$(VOICESPEEXLIB) $(FIRMLIB) -lgcc -L$(BUILDDIR)/firmware \ $(VOICESPEEXLIB) $(FIRMLIB) -lgcc -L$(BUILDDIR)/firmware \
-T$(LINKROM) -Wl,-Map,$(BUILDDIR)/rombox.map -T$(LINKROM) -Wl,-Map,$(BUILDDIR)/rombox.map