Fix spike interface

This commit is contained in:
Jerry Zhao
2023-01-07 12:12:13 -08:00
parent 2badb7e3f6
commit 8b6a7f65dd
2 changed files with 22 additions and 10 deletions

View File

@@ -7,11 +7,11 @@ SIM_OPT_CXXFLAGS := -O3
# so don't link with libriscv if it doesn't exist
# potentially breaks some configs
ifeq (,$(wildcard $RISCV/lib/libriscv.so))
ifeq (,$(wildcard $(RISCV)/lib/libriscv.so))
$(warning libriscv not found)
LRISCV=""
LRISCV=
else
LRISCV="-lriscv"
LRISCV=-lriscv
endif
SIM_CXXFLAGS = \