saner toolchain-clean

This commit is contained in:
Lance Vick 2023-02-12 16:54:54 -08:00
parent 4a4d61f1b7
commit 770c4add58
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
1 changed files with 3 additions and 4 deletions

View File

@ -79,12 +79,11 @@ toolchain-update:
.PHONY: toolchain-clean .PHONY: toolchain-clean
toolchain-clean: toolchain-clean:
rm -rf cache out rm -rf $(CACHE_DIR_ROOT) $(OUT_DIR)
docker image rm -f local/$(NAME)-build docker image rm -f $(IMAGE)
.PHONY: attest .PHONY: attest
attest: attest: toolchain-clean
rm -rf $(CACHE_DIR) $(OUT_DIR)
mkdir -p $(OUT_DIR) mkdir -p $(OUT_DIR)
cp $(DIST_DIR)/release.env $(OUT_DIR)/release.env cp $(DIST_DIR)/release.env $(OUT_DIR)/release.env
$(MAKE) TARGET=$(TARGET) VERSION=$(VERSION) $(MAKE) TARGET=$(TARGET) VERSION=$(VERSION)