Don't re-generate the .d files on "make clean"
This commit is contained in:
parent
51f128ec74
commit
07f0e6be94
@ -70,7 +70,9 @@ test:
|
|||||||
# Run assembly tests and benchmarks
|
# Run assembly tests and benchmarks
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
|
|
||||||
|
ifneq ($(MAKECMDGOALS),clean)
|
||||||
-include $(generated_dir)/$(MODEL).$(CONFIG).d
|
-include $(generated_dir)/$(MODEL).$(CONFIG).d
|
||||||
|
endif
|
||||||
|
|
||||||
$(output_dir)/%.run: $(output_dir)/%.hex emulator-$(MODEL)-$(CONFIG)
|
$(output_dir)/%.run: $(output_dir)/%.hex emulator-$(MODEL)-$(CONFIG)
|
||||||
./$(emu) +dramsim +max-cycles=$(timeout_cycles) +loadmem=$< none 2> /dev/null 2> $@ && [ $$PIPESTATUS -eq 0 ]
|
./$(emu) +dramsim +max-cycles=$(timeout_cycles) +loadmem=$< none 2> /dev/null 2> $@ && [ $$PIPESTATUS -eq 0 ]
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user