aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--arch/riscv64/source.mk3
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3d790cf..ab48b33 100644
--- a/Makefile
+++ b/Makefile
@@ -35,7 +35,7 @@ COMPILER != [ $(LLVM) ] \
KERNEL_SOURCES != echo common/*.c common/uapi/*.c lib/*.c
-CLEANUP := build deps.mk kernel.* init.* apos.bin
+CLEANUP := build deps.mk kernel.* init.* apos.bin docs/output
CLEANUP_CMD :=
INIT_SOURCES :=
diff --git a/arch/riscv64/source.mk b/arch/riscv64/source.mk
index bcbb809..879d797 100644
--- a/arch/riscv64/source.mk
+++ b/arch/riscv64/source.mk
@@ -22,3 +22,6 @@ include $(ARCH_SOURCE)/gen/source.mk
# dependecy generation
$(ARCH_BUILD)/kernel/entry.o: $(ARCH_SOURCE)/include/gen/asm-offsets.h
+
+# full cleanup
+CLEANUP_CMD := $(ARCH_SOURCE)/conf/rmimage.sh