summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2008-08-03 19:32:14 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2008-08-03 19:32:14 +0000
commit06e3c660ccc09a5161bd600bf0ee5d5d7a59c589 (patch)
tree2d9015af877f4a4a1113abfbdc2f4c6944817a27 /bootloader
parent7a4c33358122e73afc06ea1d417365f06445aefb (diff)
downloadrockbox-06e3c660ccc09a5161bd600bf0ee5d5d7a59c589.tar.gz
rockbox-06e3c660ccc09a5161bd600bf0ee5d5d7a59c589.tar.bz2
rockbox-06e3c660ccc09a5161bd600bf0ee5d5d7a59c589.zip
Prepare Creative bootloader compilation for future dual boot integration
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18187 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootloader/Makefile b/bootloader/Makefile
index 796cd9ae2c..3272510051 100644
--- a/bootloader/Makefile
+++ b/bootloader/Makefile
@@ -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 $< > $@