From 199c041cffba9aefadbd3e776121e7fa5ee052ba Mon Sep 17 00:00:00 2001 From: x Date: Mon, 10 Jan 2022 16:42:07 -0500 Subject: add "cleanmu" make target --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7e625e7..02ea90e 100644 --- a/Makefile +++ b/Makefile @@ -149,6 +149,9 @@ rootfs-deps: [ -e install-stamp ] || $(SUDO_MAKE) install-stamp btrfs_images = $(addprefix rootfs/, $(rootfs) $(patchfs)) +rootfs-clean: + make -C rootfs clean all + rootfs: rootfs-deps $(btrfs_images) $(rootfs_verity) sudo mkdir -p /srv/nbd sudo ln -sf "$$PWD"/rootfs/$(rootfs) /srv/nbd/samizdat.btrfs @@ -362,6 +365,7 @@ partitions/persist.img: usb emu: initrd rootfs key keymu emu-key: initrd +cleanmu: rootfs-clean total-destroy emu usb emu key keymu emu-key total-destroy: make -C partitions clean $@ -- cgit v1.2.3