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