diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-07-10 13:49:49 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-07-10 13:49:49 +0000 |
commit | 57613ea5fafb8ba4555755074e7d6ad768fb8a68 (patch) | |
tree | 7e0d15688e3cf69718e2640eb6bf7b1a1e8c7661 /apps/plugins/lua/Makefile | |
parent | e87ff2bf91b65d51f41f7db4df3632a30748002d (diff) | |
download | rockbox-57613ea5fafb8ba4555755074e7d6ad768fb8a68.tar.gz rockbox-57613ea5fafb8ba4555755074e7d6ad768fb8a68.zip |
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/lua/Makefile')
-rw-r--r-- | apps/plugins/lua/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/lua/Makefile b/apps/plugins/lua/Makefile index 6a4e497801..09535ac530 100644 --- a/apps/plugins/lua/Makefile +++ b/apps/plugins/lua/Makefile | |||
@@ -27,7 +27,7 @@ OBJS2 := $(SRC:%.c=$(OBJDIR)/%.o) | |||
27 | OBJS = $(patsubst %.S, $(OBJDIR)/%.o, $(OBJS2)) | 27 | OBJS = $(patsubst %.S, $(OBJDIR)/%.o, $(OBJS2)) |
28 | DIRS = . | 28 | DIRS = . |
29 | 29 | ||
30 | ifndef SIMVER | 30 | ifndef APP_TYPE |
31 | ifneq (,$(strip $(foreach tgt,RECORDER ONDIO,$(findstring $(tgt),$(TARGET))))) | 31 | ifneq (,$(strip $(foreach tgt,RECORDER ONDIO,$(findstring $(tgt),$(TARGET))))) |
32 | LDS := archos.lds | 32 | LDS := archos.lds |
33 | OUTPUT = $(OUTDIR)/lua.ovl | 33 | OUTPUT = $(OUTDIR)/lua.ovl |
@@ -41,7 +41,7 @@ endif | |||
41 | 41 | ||
42 | all: $(OUTPUT) | 42 | all: $(OUTPUT) |
43 | 43 | ||
44 | ifndef SIMVER | 44 | ifndef APP_TYPE |
45 | $(OBJDIR)/lua.elf: $(OBJS) $(LINKFILE) | 45 | $(OBJDIR)/lua.elf: $(OBJS) $(LINKFILE) |
46 | $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ | 46 | $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ |
47 | -T$(LINKFILE) -Wl,--gc-sections -Wl,-Map,$(OBJDIR)/lua.map | 47 | -T$(LINKFILE) -Wl,--gc-sections -Wl,-Map,$(OBJDIR)/lua.map |
@@ -50,7 +50,7 @@ $(OUTPUT): $(OBJDIR)/lua.elf | |||
50 | $(call PRINTS,OBJCOPY $(@F))$(OC) -O binary $< $@ | 50 | $(call PRINTS,OBJCOPY $(@F))$(OC) -O binary $< $@ |
51 | else | 51 | else |
52 | 52 | ||
53 | ifeq ($(SIMVER), sdl) | 53 | ifdef APP_TYPE |
54 | ################################################### | 54 | ################################################### |
55 | # This is the SDL simulator version | 55 | # This is the SDL simulator version |
56 | 56 | ||