From 770c4add580c19ed9d9ead6a2ac765a397cb889c Mon Sep 17 00:00:00 2001 From: "Lance R. Vick" Date: Sun, 12 Feb 2023 16:54:54 -0800 Subject: [PATCH] saner toolchain-clean --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 6cfc0a7..3773ac9 100644 --- a/Makefile +++ b/Makefile @@ -79,12 +79,11 @@ toolchain-update: .PHONY: toolchain-clean toolchain-clean: - rm -rf cache out - docker image rm -f local/$(NAME)-build + rm -rf $(CACHE_DIR_ROOT) $(OUT_DIR) + docker image rm -f $(IMAGE) .PHONY: attest -attest: - rm -rf $(CACHE_DIR) $(OUT_DIR) +attest: toolchain-clean mkdir -p $(OUT_DIR) cp $(DIST_DIR)/release.env $(OUT_DIR)/release.env $(MAKE) TARGET=$(TARGET) VERSION=$(VERSION)