aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2021-08-21 23:23:30 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2021-08-21 23:23:30 +0300
commitf05aaa0561e071a54785ae7dfae3d8a34c9df06a (patch)
tree316a5b1433eaa6d26c0414f8228ed690820682ed /Makefile
parent31c3c8dcb5ea281201b9c01140bceeadc80f7686 (diff)
downloadkmi-f05aaa0561e071a54785ae7dfae3d8a34c9df06a.tar.gz
kmi-f05aaa0561e071a54785ae7dfae3d8a34c9df06a.zip
Updated build system with run command
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dbf6456..cc9f7b2 100644
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,7 @@ OBJCOPY_FLAGS ?= -Obinary
KERNEL_SOURCES :=
INIT_SOURCES :=
CLEANUP := build deps.mk kernel.* init.* apos.bin
+CLEANUP_CMD :=
include arch/$(ARCH)/source.mk
@@ -49,4 +50,5 @@ init.elf: $(INIT_OBJECTS) $(INIT_LD)
$(COMPILE) -T$(INIT_LD) $(INIT_OBJECTS) -o $@
clean:
+ $(CLEANUP_CMD)
$(RM) -r $(CLEANUP)