Added GCCOPTS to the linker command line, to let the linker know exactly which target to link for
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5493 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
035fcdee74
commit
66111fd987
1 changed files with 2 additions and 2 deletions
|
@ -71,11 +71,11 @@ $(MAXOUTFILE):
|
||||||
|
|
||||||
$(OBJDIR)/rombox.elf : $(OBJS) $(LINKROM) $(OBJDIR)/librockbox.a $(DEPFILE)
|
$(OBJDIR)/rombox.elf : $(OBJS) $(LINKROM) $(OBJDIR)/librockbox.a $(DEPFILE)
|
||||||
@echo "LD rombox.elf"
|
@echo "LD rombox.elf"
|
||||||
@$(CC) -Os -nostdlib -o $@ $(OBJS) -L$(OBJDIR) -lrockbox -lgcc -L$(FIRMDIR) -T$(LINKROM) -Wl,-Map,$(OBJDIR)/rombox.map
|
@$(CC) $(GCCOPTS) -Os -nostdlib -o $@ $(OBJS) -L$(OBJDIR) -lrockbox -lgcc -L$(FIRMDIR) -T$(LINKROM) -Wl,-Map,$(OBJDIR)/rombox.map
|
||||||
|
|
||||||
$(OBJDIR)/rockbox.elf : $(OBJS) $(LINKFILE) $(OBJDIR)/librockbox.a $(DEPFILE)
|
$(OBJDIR)/rockbox.elf : $(OBJS) $(LINKFILE) $(OBJDIR)/librockbox.a $(DEPFILE)
|
||||||
@echo "LD rockbox.elf"
|
@echo "LD rockbox.elf"
|
||||||
@$(CC) -Os -nostdlib -o $@ $(OBJS) -L$(OBJDIR) -lrockbox -lgcc -L$(FIRMDIR) -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/rockbox.map
|
$(CC) $(GCCOPTS) -Os -nostdlib -o $@ $(OBJS) -L$(OBJDIR) -lrockbox -lgcc -L$(FIRMDIR) -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/rockbox.map
|
||||||
|
|
||||||
$(OBJDIR)/rockbox.bin : $(OBJDIR)/rockbox.elf
|
$(OBJDIR)/rockbox.bin : $(OBJDIR)/rockbox.elf
|
||||||
@echo "OBJCOPY $<"
|
@echo "OBJCOPY $<"
|
||||||
|
|
Loading…
Reference in a new issue