summaryrefslogtreecommitdiff
path: root/tools/root.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 /tools/root.make
parente87ff2bf91b65d51f41f7db4df3632a30748002d (diff)
downloadrockbox-57613ea5fafb8ba4555755074e7d6ad768fb8a68.zip
rockbox-57613ea5fafb8ba4555755074e7d6ad768fb8a68.tar.gz
rockbox-57613ea5fafb8ba4555755074e7d6ad768fb8a68.tar.bz2
rockbox-57613ea5fafb8ba4555755074e7d6ad768fb8a68.tar.xz
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 'tools/root.make')
-rw-r--r--tools/root.make8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/root.make b/tools/root.make
index 2b4dfb6..e53c452 100644
--- a/tools/root.make
+++ b/tools/root.make
@@ -24,7 +24,7 @@ TOOLS = $(TOOLSDIR)/rdf2binary $(TOOLSDIR)/convbdf \
ifeq (,$(PREFIX))
-ifdef SIMVER
+ifeq ($(APP_TYPE),sdl-sim)
# for sims, set simdisk/ as default
PREFIX = simdisk
INSTALL = --install="$(PREFIX)"
@@ -85,7 +85,7 @@ else
include $(APPSDIR)/plugins/plugins.make
endif
- ifdef SIMVER
+ ifdef APP_TYPE
include $(ROOTDIR)/uisimulator/uisimulator.make
endif
endif # bootloader
@@ -141,7 +141,7 @@ ifeq (,$(findstring bootloader,$(APPSDIR)))
OBJ += $(LANG_O)
-ifndef SIMVER
+ifndef APP_TYPE
## target build
CONFIGFILE := $(FIRMDIR)/export/config/$(MODELNAME).h
@@ -221,7 +221,7 @@ $(MAXOUTFILE):
$(BUILDDIR)/rombox.iriver: $(BUILDDIR)/rombox.bin
$(call PRINTS,Build ROM file)$(MKFIRMWARE) $< $@
-endif # !SIMVER
+endif # !APP_TYPE
endif # !bootloader