From ff7554b46fa21ea81dcd4f437dc33d125207338f Mon Sep 17 00:00:00 2001 From: Konste11ation Date: Sun, 1 Sep 2024 11:04:30 +0200 Subject: [PATCH] Change the clean target -Move the clean of the bender maually at the end of the "make clean" (at the root Makefile) so there will be no fetching during the clean process --- Makefile | 2 ++ target/rtl/Makefile | 10 +++++----- target/sim/Makefile | 8 ++++---- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index d78309033..85c26f4dd 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,8 @@ clean: make -C ./target/fpga/sw clean make -C ./target/fpga/bootrom clean make -C ./target/tapeout clean + rm -rf Bender.lock .bender deps + rm -rf ./target/rtl/src/bender_targets.tmp # Software Generation bootrom: # In Occamy Docker diff --git a/target/rtl/Makefile b/target/rtl/Makefile index 3d98a1000..3bb0d4032 100644 --- a/target/rtl/Makefile +++ b/target/rtl/Makefile @@ -75,17 +75,17 @@ FORCE: .PHONY: all clean all: rtl -clean: clean-bender clean-rtl +clean: clean-rtl ######## # Util # ######## -.PHONY: clean-bender +# .PHONY: clean-bender -clean-bender: - rm -rf $(ROOT)/Bender.lock $(ROOT)/.bender/ $(ROOT)/deps - rm -rf src/bender_targets.tmp +# clean-bender: +# rm -rf $(ROOT)/Bender.lock $(ROOT)/.bender/ $(ROOT)/deps +# rm -rf src/bender_targets.tmp ############### # RTL sources # diff --git a/target/sim/Makefile b/target/sim/Makefile index fa964ba60..bca1c827c 100644 --- a/target/sim/Makefile +++ b/target/sim/Makefile @@ -15,7 +15,7 @@ CFG_OVERRIDE ?= # Override default config file .DEFAULT_GOAL := help .PHONY: all clean all: rtl sw addrmap -clean: clean-bender clean-rtl clean-sw clean-addrmap clean-vlt clean-vsim clean-vcs clean-logs clean-work clean-bootrom +clean: clean-rtl clean-sw clean-addrmap clean-vlt clean-vsim clean-vcs clean-logs clean-work clean-bootrom ############ # Makefrag # @@ -452,14 +452,14 @@ clean-vcs: clean-work # Util # ######## -.PHONY: clean-work clean-bender clean-logs help +.PHONY: clean-work clean-logs help clean-work: rm -rf work rm -rf work-vsim -clean-bender: - rm -rf $(ROOT)/Bender.lock $(ROOT)/.bender/ $(ROOT)/deps +# clean-bender: +# rm -rf $(ROOT)/Bender.lock $(ROOT)/.bender/ $(ROOT)/deps clean-logs: rm -rf $(LOGS_DIR)/