1
0
Fork 0
forked from len0rd/rockbox

bring back the cat for the preprocessing of the app.lds file, since

Jörg got problems on cygwin with the previous "< file" approach.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4190 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2004-01-04 13:30:16 +00:00
parent 187b8ed9df
commit 2fa3ea313d

View file

@ -101,7 +101,7 @@ $(OBJDIR)/librockbox.a:
# MEM should be passed on to this makefile with the chosen memory size given
# in number of MB
$(LINKFILE): $(LDS)
$(CC) -DMEMORYSIZE=$(MEM) $(INCLUDES) $(TARGET) $(DEFINES) -E -P - < $< >$@
cat $< | $(CC) -DMEMORYSIZE=$(MEM) $(INCLUDES) $(TARGET) $(DEFINES) -E -P - >$@
$(OBJDIR)/rockbox.elf : $(OBJS) $(LINKFILE) $(OBJDIR)/librockbox.a
$(CC) -Os -nostdlib -o $@ $(OBJS) -L$(OBJDIR) -lrockbox -lgcc -L$(FIRMWARE) -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/rockbox.map