aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-05-22 23:42:22 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-05-22 23:42:22 +0300
commitce14f44456b08e443f78e92190ee7449a1afde85 (patch)
tree6db0623792d329c9bdf20ef894170aa6f6bfe43e
parent72df0de8cb579fd96449d19eb57fc71335907a19 (diff)
downloadkmi-ce14f44456b08e443f78e92190ee7449a1afde85.tar.gz
kmi-ce14f44456b08e443f78e92190ee7449a1afde85.zip
fixed accidental removal of CLEANUP_CMD
-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