Add abort() for benefit of benchmark code
[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: pylint spike32.log spike64.log
10
11 pylint:
12 pylint --rcfile=pylint.rc *.py
13
14 %.log:
15 $(GDBSERVER_PY) --isolate --$(subst .log,,$@) --cmd $(RISCV_SIM) \
16 > $@ 2>&1 || (sed s/^/$@:\ / $@ && false)
17
18 clean:
19 rm -f *.log *.pyc