summaryrefslogtreecommitdiffstats
path: root/gdb/Makefile
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2003-06-29 21:56:32 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2003-06-29 21:56:32 +0000
commit09e42d56572822a4da19038ad3124e0a8d29e2dc (patch)
tree6b9de49baa88c637da568076f777a0574e4f77a8 /gdb/Makefile
parentcf66686aec853b7bf4df69087bf20ecfcf15b8b7 (diff)
downloadrockbox-09e42d56572822a4da19038ad3124e0a8d29e2dc.tar.gz
rockbox-09e42d56572822a4da19038ad3124e0a8d29e2dc.tar.bz2
rockbox-09e42d56572822a4da19038ad3124e0a8d29e2dc.zip
include a disassembly to the build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3779 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'gdb/Makefile')
-rw-r--r--gdb/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/Makefile b/gdb/Makefile
index 21c0cf8341..61f4cb838d 100644
--- a/gdb/Makefile
+++ b/gdb/Makefile
@@ -30,6 +30,7 @@ LIBS = -lgcc
$(TARGET).$(EXT): $(TARGET).elf
sh-elf-objcopy -O binary $(TARGET).elf $(TARGET).out
../tools/scramble $(TARGET).out $(TARGET).$(EXT)
+ ../tools/sh2d $(TARGET).out -o 09000000 > $(TARGET).asm
$(TARGET).elf: $(OBJS)
sh-elf-gcc -nostartfiles $(OBJS) -nostdlib -Wl,-Map,$(TARGET).map -o $(TARGET).elf -Tlinker.cfg
@@ -37,6 +38,6 @@ $(TARGET).elf: $(OBJS)
clean:
rm $(OBJS) $(TARGET).map $(TARGET).elf $(TARGET).out $(TARGET).mod $(TARGET).ajz
-start.o: start.s
+start.o: start.S
sh-stub.o: sh-stub.c
setjmp.o: setjmp.S