diff options
Diffstat (limited to 'gdb/Makefile')
-rw-r--r-- | gdb/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/Makefile b/gdb/Makefile index 2e36a7f80e..f61088effc 100644 --- a/gdb/Makefile +++ b/gdb/Makefile | |||
@@ -8,14 +8,13 @@ | |||
8 | # | 8 | # |
9 | TARGET = stub | 9 | TARGET = stub |
10 | OBJS = start.o sh-stub.o | 10 | OBJS = start.o sh-stub.o |
11 | #LIBS = -L/home/linus/sh1/lib/gcc-lib/sh-elf/3.0.4 -lgcc | ||
12 | LIBS = -lgcc | 11 | LIBS = -lgcc |
13 | 12 | ||
14 | .s.o: | 13 | .s.o: |
15 | sh-elf-as -o $@ $< | 14 | sh-elf-as -o $@ $< |
16 | 15 | ||
17 | .c.o: | 16 | .c.o: |
18 | sh-elf-gcc -O -m1 -Wall -c -o $@ $< | 17 | sh-elf-gcc -O -I../firmware/drivers -m1 -Wall -c -o $@ $< |
19 | 18 | ||
20 | $(TARGET).out: $(TARGET).elf | 19 | $(TARGET).out: $(TARGET).elf |
21 | sh-elf-objcopy -O binary $(TARGET).elf $(TARGET).out | 20 | sh-elf-objcopy -O binary $(TARGET).elf $(TARGET).out |