diff options
author | Megan Wachs <megan@sifive.com> | 2017-04-17 19:36:01 -0700 |
---|---|---|
committer | Megan Wachs <megan@sifive.com> | 2017-04-17 19:36:01 -0700 |
commit | d46f694d85cc017d8e768cf3f2cd3ed934dec3e5 (patch) | |
tree | 4f371c5ec943186f4416f986974b188fdcc6042e /debug_rom/Makefile | |
parent | 12b772563a33b6c6c3da0343fbfc747b1eeea6b6 (diff) | |
download | spike-d46f694d85cc017d8e768cf3f2cd3ed934dec3e5.zip spike-d46f694d85cc017d8e768cf3f2cd3ed934dec3e5.tar.gz spike-d46f694d85cc017d8e768cf3f2cd3ed934dec3e5.tar.bz2 |
debug: Use a more practical debug ROM
Diffstat (limited to 'debug_rom/Makefile')
-rw-r--r-- | debug_rom/Makefile | 10 |
1 files changed, 2 insertions, 8 deletions
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 |