summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lua/Makefile')
-rw-r--r--apps/plugins/lua/Makefile6
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)
27OBJS = $(patsubst %.S, $(OBJDIR)/%.o, $(OBJS2)) 27OBJS = $(patsubst %.S, $(OBJDIR)/%.o, $(OBJS2))
28DIRS = . 28DIRS = .
29 29
30ifndef SIMVER 30ifndef APP_TYPE
31ifneq (,$(strip $(foreach tgt,RECORDER ONDIO,$(findstring $(tgt),$(TARGET))))) 31ifneq (,$(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
42all: $(OUTPUT) 42all: $(OUTPUT)
43 43
44ifndef SIMVER 44ifndef 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 $< $@
51else 51else
52 52
53ifeq ($(SIMVER), sdl) 53ifdef APP_TYPE
54################################################### 54###################################################
55# This is the SDL simulator version 55# This is the SDL simulator version
56 56