Fix missing setup in test_turbostep.
[riscv-tests.git] / debug / Makefile
1 RISCV_SIM ?= spike
2 XLEN ?= 64
3
4 src_dir ?= .
5 GDBSERVER_PY = $(src_dir)/gdbserver.py
6
7 default: spike$(XLEN).log
8
9 all: spike32.log spike64.log
10
11 %.log:
12 $(GDBSERVER_PY) --isolate --$(subst .log,,$@) --cmd $(RISCV_SIM) -- -v \
13 > $@ 2>&1 || sed s/^/$@:\ / $@
14
15 clean:
16 rm -f *.log