debug: fix the make target for debug-check
[riscv-tests.git] / debug / Makefile
index 56db73178201087e6817e5af7a0d35d0887347d2..1ea5752fb969ed7013678490943332f35cf5b407 100644 (file)
@@ -4,7 +4,7 @@ XLEN ?= 64
 src_dir ?= .
 GDBSERVER_PY = $(src_dir)/gdbserver.py
 
-default:       spike$(XLEN).log
+default: spike$(XLEN).log
 
 all:   pylint spike32.log spike64.log
 
@@ -12,7 +12,7 @@ pylint:
        pylint --rcfile=pylint.rc *.py
 
 %.log:
-       $(GDBSERVER_PY) --isolate --$(subst .log,,$@) --cmd $(RISCV_SIM) \
+       $(GDBSERVER_PY) --isolate --$(subst .log,,$@) --sim_cmd $(RISCV)/bin/$(RISCV_SIM) \
            > $@ 2>&1 || (sed s/^/$@:\ / $@ && false)
 
 clean: