summaryrefslogtreecommitdiff
path: root/gdb/Makefile
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-15 19:40:55 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-24 21:20:13 +0000
commit092c340a2062fa98b7387fc5fd63578ddae7d0b6 (patch)
tree98ec96946eeb2ae709cb0528cc6998e21bb9b290 /gdb/Makefile
parent17f7cc92c258bc456a27c3e7c5a19c9409851879 (diff)
[1/4] Remove SH support and all archos targets
This removes all code specific to SH targets Change-Id: I7980523785d2596e65c06430f4638eec74a06061
Diffstat (limited to 'gdb/Makefile')
-rw-r--r--gdb/Makefile37
1 files changed, 0 insertions, 37 deletions
diff --git a/gdb/Makefile b/gdb/Makefile
index 0cd9990cd1..cf24a77cee 100644
--- a/gdb/Makefile
+++ b/gdb/Makefile
@@ -61,41 +61,4 @@ clean:
-include $(DEPFILE)
-else # not ifp7xx
-
-ifdef RECORDER
-EXTRA = -DRECORDER
-EXT = ajz
-else
-EXT = mod
-endif
-
-TARGET = stub
-OBJS = start.o sh-stub.o setjmp.o
-LIBS = -lgcc
-
-.s.o:
- sh-elf-as -o $@ $<
-
-.c.o:
- sh-elf-gcc -O $(EXTRA) -I../firmware/export -I../firmware/include -m1 -Wall -Wstrict-prototypes -c -o $@ $<
-
-.S.o:
- sh-elf-gcc -O -I../firmware/export -I../firmware/include -m1 -Wall -Wstrict-prototypes -c -o $@ $<
-
-$(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
-
-clean:
- rm $(OBJS) $(TARGET).map $(TARGET).elf $(TARGET).out $(TARGET).mod $(TARGET).ajz
-
-start.o: start.s
-sh-stub.o: sh-stub.c
-setjmp.o: setjmp.S
-
endif