forked from len0rd/rockbox
Rename/change SIMVER to APP_TYPE in the Makefiles.
SIMVER was really only used to detect a simulator build. With APP_TYPE you can now differentiate between simulator, application, checkwps and database builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27372 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e87ff2bf91
commit
57613ea5fa
16 changed files with 99 additions and 71 deletions
|
@ -22,7 +22,7 @@ $(PDBOXBUILDDIR)/pdbox.rock: $(PDBOX_OBJ) $(MPEG_OBJ) $(CODECDIR)/libtlsf.a
|
|||
|
||||
PDBOXFLAGS = $(PLUGINFLAGS)
|
||||
PDBOXLDFLAGS = $(PLUGINLDFLAGS)
|
||||
ifdef SIMVER
|
||||
ifdef APP_TYPE
|
||||
PDBOXLDFLAGS += -lm
|
||||
endif
|
||||
|
||||
|
@ -36,7 +36,7 @@ $(PDBOXBUILDDIR)/pdbox.rock:
|
|||
$(filter %.o, $^) \
|
||||
$(filter %.a, $+) \
|
||||
-lgcc $(PDBOXLDFLAGS)
|
||||
ifdef SIMVER
|
||||
ifdef APP_TYPE
|
||||
$(SILENT)cp $*.elf $@
|
||||
else
|
||||
$(SILENT)$(OC) -O binary $*.elf $@
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue