summaryrefslogtreecommitdiff
path: root/apps/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/Makefile')
-rw-r--r--apps/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/Makefile b/apps/Makefile
index 2fc9d97adb..aaf31479f4 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -101,7 +101,7 @@ $(OBJDIR)/librockbox.a:
101# MEM should be passed on to this makefile with the chosen memory size given 101# MEM should be passed on to this makefile with the chosen memory size given
102# in number of MB 102# in number of MB
103$(LINKFILE): $(LDS) 103$(LINKFILE): $(LDS)
104 $(CC) -DMEMORYSIZE=$(MEM) $(INCLUDES) $(TARGET) $(DEFINES) -E -P - < $< >$@ 104 cat $< | $(CC) -DMEMORYSIZE=$(MEM) $(INCLUDES) $(TARGET) $(DEFINES) -E -P - >$@
105 105
106$(OBJDIR)/rockbox.elf : $(OBJS) $(LINKFILE) $(OBJDIR)/librockbox.a 106$(OBJDIR)/rockbox.elf : $(OBJS) $(LINKFILE) $(OBJDIR)/librockbox.a
107 $(CC) -Os -nostdlib -o $@ $(OBJS) -L$(OBJDIR) -lrockbox -lgcc -L$(FIRMWARE) -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/rockbox.map 107 $(CC) -Os -nostdlib -o $@ $(OBJS) -L$(OBJDIR) -lrockbox -lgcc -L$(FIRMWARE) -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/rockbox.map