mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
include a disassembly to the build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3779 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cf66686aec
commit
09e42d5657
1 changed files with 2 additions and 1 deletions
|
@ -30,6 +30,7 @@ LIBS = -lgcc
|
||||||
$(TARGET).$(EXT): $(TARGET).elf
|
$(TARGET).$(EXT): $(TARGET).elf
|
||||||
sh-elf-objcopy -O binary $(TARGET).elf $(TARGET).out
|
sh-elf-objcopy -O binary $(TARGET).elf $(TARGET).out
|
||||||
../tools/scramble $(TARGET).out $(TARGET).$(EXT)
|
../tools/scramble $(TARGET).out $(TARGET).$(EXT)
|
||||||
|
../tools/sh2d $(TARGET).out -o 09000000 > $(TARGET).asm
|
||||||
|
|
||||||
$(TARGET).elf: $(OBJS)
|
$(TARGET).elf: $(OBJS)
|
||||||
sh-elf-gcc -nostartfiles $(OBJS) -nostdlib -Wl,-Map,$(TARGET).map -o $(TARGET).elf -Tlinker.cfg
|
sh-elf-gcc -nostartfiles $(OBJS) -nostdlib -Wl,-Map,$(TARGET).map -o $(TARGET).elf -Tlinker.cfg
|
||||||
|
@ -37,6 +38,6 @@ $(TARGET).elf: $(OBJS)
|
||||||
clean:
|
clean:
|
||||||
rm $(OBJS) $(TARGET).map $(TARGET).elf $(TARGET).out $(TARGET).mod $(TARGET).ajz
|
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
|
sh-stub.o: sh-stub.c
|
||||||
setjmp.o: setjmp.S
|
setjmp.o: setjmp.S
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue