forked from len0rd/rockbox
Prepare Creative bootloader compilation for future dual boot integration
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18187 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7a4c333581
commit
06e3c660cc
5 changed files with 55 additions and 25 deletions
|
|
@ -98,7 +98,7 @@ $(OBJDIR)/bootloader.elf : $(OBJS) $(LINKFILE) $(DEPFILE) $(LIBROCKBOX) $(BITMAP
|
|||
$(call PRINTS,LD $(@F))$(CC) $(GCCOPTS) -Wl,--gc-sections -Os -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -L$(BUILDDIR)/firmware -lrockbox $(LINKBITMAPS) -lgcc -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/bootloader.map
|
||||
|
||||
$(OBJDIR)/bootloader.bin : $(OBJDIR)/bootloader.elf
|
||||
$(call PRINTS,OBJCOPY $(@F))$(OC) -O binary $< $@
|
||||
$(call PRINTS,OBJCOPY $(@F))$(OC) $(if $(filter yes, $(USE_ELF)), -S -x, -O binary) $< $@
|
||||
|
||||
$(OBJDIR)/bootloader.asm: $(OBJDIR)/bootloader.bin
|
||||
$(TOOLSDIR)/sh2d -sh1 $< > $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue