summaryrefslogtreecommitdiff
path: root/apps/plugins/pdbox/pdbox.make
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-07-10 13:49:49 +0000
committerThomas Martitz <kugel@rockbox.org>2010-07-10 13:49:49 +0000
commit57613ea5fafb8ba4555755074e7d6ad768fb8a68 (patch)
tree7e0d15688e3cf69718e2640eb6bf7b1a1e8c7661 /apps/plugins/pdbox/pdbox.make
parente87ff2bf91b65d51f41f7db4df3632a30748002d (diff)
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
Diffstat (limited to 'apps/plugins/pdbox/pdbox.make')
-rw-r--r--apps/plugins/pdbox/pdbox.make4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/pdbox/pdbox.make b/apps/plugins/pdbox/pdbox.make
index d39d9fde1e..d2c836f513 100644
--- a/apps/plugins/pdbox/pdbox.make
+++ b/apps/plugins/pdbox/pdbox.make
@@ -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 $@