From d46f694d85cc017d8e768cf3f2cd3ed934dec3e5 Mon Sep 17 00:00:00 2001 From: Megan Wachs Date: Mon, 17 Apr 2017 19:36:01 -0700 Subject: debug: Use a more practical debug ROM --- debug_rom/Makefile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'debug_rom/Makefile') diff --git a/debug_rom/Makefile b/debug_rom/Makefile index b72f37d..fa01545 100644 --- a/debug_rom/Makefile +++ b/debug_rom/Makefile @@ -6,7 +6,7 @@ OBJCOPY = $(RISCV)/bin/riscv64-unknown-elf-objcopy COMPILE = $(CC) -nostdlib -nostartfiles -I.. -Tlink.ld -ELFS = debug_rom debug_rom32 debug_rom64 +ELFS = debug_rom DEPS = debug_rom.S link.ld all: $(patsubst %,%.h,$(ELFS)) @@ -18,13 +18,7 @@ all: $(patsubst %,%.h,$(ELFS)) $(OBJCOPY) -O binary --only-section .text $^ $@ debug_rom: $(DEPS) - $(COMPILE) -DRV32 -DRV64 -o $@ $^ - -debug_rom32: $(DEPS) - $(COMPILE) -DRV32 -DDEBUG_RAM_SIZE=28 -o $@ $^ - -debug_rom64: $(DEPS) - $(COMPILE) -DRV64 -o $@ $^ + $(COMPILE) -o $@ $^ clean: rm -f $(ELFS) debug_rom*.raw debug_rom*.h -- cgit v1.1