Allow the regression Makefile to clean all targets
This commit is contained in:
parent
c9a2b7d109
commit
00465b15c3
@ -21,7 +21,9 @@ TB ?= rocketTestHarness
|
||||
|
||||
include $(base_dir)/Makefrag
|
||||
include $(sim_dir)/Makefrag
|
||||
ifneq ($(MAKECMDGOALS),clean)
|
||||
-include $(generated_dir)/$(MODEL).$(CONFIG).d
|
||||
endif
|
||||
include $(base_dir)/vsim/Makefrag-verilog
|
||||
|
||||
all: $(simv)
|
||||
|
@ -29,9 +29,9 @@ TORTURE_SAVE_DIR ?= torture-failures
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf stamps $(abspath $(RISCV))
|
||||
$(MAKE) -C $(abspath $(TOP)/vsim) clean
|
||||
$(MAKE) -C $(abspath $(TOP)/fsim) clean
|
||||
$(MAKE) -C $(abspath $(TOP)/emulator) clean
|
||||
$(MAKE) RISCV=$(RISCV) -C $(abspath $(TOP)/vsim) clean
|
||||
$(MAKE) RISCV=$(RISCV) -C $(abspath $(TOP)/fsim) clean
|
||||
$(MAKE) RISCV=$(RISCV) -C $(abspath $(TOP)/emulator) clean
|
||||
|
||||
# These are the named regression targets. While it's expected you run them in
|
||||
# this order, since there's dependencies for everything it doesn't actually
|
||||
|
Loading…
Reference in New Issue
Block a user