aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Shpilkin <ashpilkin@gmail.com>2022-12-29 02:50:29 +0200
committerGitHub <noreply@github.com>2022-12-28 16:50:29 -0800
commitb1e56a620d976b89c7910e522989031e5f934b1b (patch)
tree18d0bca38b3012e487fbdf1d9bdf31e845c8d213
parent48491dadafcd59442c5bf22603fb0a7f1c589cb9 (diff)
downloadriscv-tests-b1e56a620d976b89c7910e522989031e5f934b1b.zip
riscv-tests-b1e56a620d976b89c7910e522989031e5f934b1b.tar.gz
riscv-tests-b1e56a620d976b89c7910e522989031e5f934b1b.tar.bz2
Fix clean in isa/ with non-default compiler (#443)
The list of active tests in isa/ depends, via the COMPILER_SUPPORTS_* macros, on running the RISC-V compiler, so pass the necessary options when invoking make clean there.
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index f00c8a2..831d25a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -37,7 +37,7 @@ debug-check-fast:
$(MAKE) -C debug -f $(debug_src_dir)/Makefile src_dir=$(debug_src_dir) XLEN=$(XLEN) spike$(XLEN)
clean:
- [ ! -d isa ] || $(MAKE) -C isa -f $(isa_src_dir)/Makefile src_dir=$(isa_src_dir) clean
+ [ ! -d isa ] || $(MAKE) -C isa -f $(isa_src_dir)/Makefile src_dir=$(isa_src_dir) XLEN=$(XLEN) $(RISCV_PREFIX_VAR) clean
[ ! -d benchmarks ] || $(MAKE) -C benchmarks -f $(bmarkdir)/Makefile src_dir=$(bmarkdir) clean
[ ! -d debug ] || $(MAKE) -C debug -f $(debug_src_dir)/Makefile src_dir=$(debug_src_dir) clean