aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/source.mk
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2021-12-20 13:12:06 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2021-12-20 13:12:06 +0200
commita37974009152b4bf6a2d7ed205a48230f939dd72 (patch)
tree8fb3dd159751a9cf983fd78819aad7ff69bb03cc /arch/riscv/source.mk
parentdc2e2cc9dc9d7790e23dd9a4ccc265d7bb6d76aa (diff)
downloadkmi-a37974009152b4bf6a2d7ed205a48230f939dd72.tar.gz
kmi-a37974009152b4bf6a2d7ed205a48230f939dd72.zip
still some issues with vmem
+ Not sure if I should go with noinit or init, fuck
Diffstat (limited to 'arch/riscv/source.mk')
-rw-r--r--arch/riscv/source.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/riscv/source.mk b/arch/riscv/source.mk
index 0e9a5c3..ef61611 100644
--- a/arch/riscv/source.mk
+++ b/arch/riscv/source.mk
@@ -1,6 +1,8 @@
+COMMON_LOCAL != echo arch/riscv/common/*.[cS]
KERNEL_LOCAL != echo arch/riscv/kernel/*.[cS]
-KERNEL_SOURCES += $(KERNEL_LOCAL)
-INIT_SOURCES += arch/riscv/init/init.c
+KERNEL_SOURCES += $(KERNEL_LOCAL) $(COMMON_LOCAL)
+INIT_LOCAL != echo arch/riscv/init/*.[cS]
+INIT_SOURCES += $(INIT_LOCAL) $(COMMON_LOCAL)
CLEANUP_CMD := ./arch/riscv/conf/rmimage.sh