diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/Makefile b/gdb/Makefile index c62b8a6e9a..518217fc70 100644 --- a/gdb/Makefile +++ b/gdb/Makefile @@ -16,9 +16,9 @@ LIBS = -lgcc .c.o: sh-elf-gcc -O -I../firmware/drivers -m1 -Wall -Wstrict-prototypes -c -o $@ $< -$(TARGET).out: $(TARGET).elf +archos.mod: $(TARGET).elf sh-elf-objcopy -O binary $(TARGET).elf $(TARGET).out - scramble $(TARGET).out archos.mod + ../tools/scramble $(TARGET).out archos.mod $(TARGET).elf: $(OBJS) sh-elf-gcc -nostartfiles $(OBJS) -lgcc -Wl,-Map,$(TARGET).map -o $(TARGET).elf -Tlinker.cfg |