From e98746d3bd8ac8ba34336df4da9889892f69267f Mon Sep 17 00:00:00 2001 From: Kevin Wang Date: Sun, 27 Oct 2024 08:02:11 +0000 Subject: [PATCH] Add make clean-dstack --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 18e1a85..7830722 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ ifeq ($(BBPATH),) $(error BBPATH is not set. Run `source dev-setup` first) endif -.PHONY: all dist emu clean images +.PHONY: all dist emu clean clean-dstack images BUILD_DIR ?= build BUILD_IMAGES_DIR ?= ${BUILD_DIR}/tmp/deploy/images/tdx @@ -37,4 +37,7 @@ test: make images dist run clean: - git clean -xdff \ No newline at end of file + git clean -xdff + +clean-dstack: + bitbake -c cleansstate dstack-guest dstack-rootfs dstack-rootfs-dev