From a37974009152b4bf6a2d7ed205a48230f939dd72 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 20 Dec 2021 13:12:06 +0200 Subject: still some issues with vmem + Not sure if I should go with noinit or init, fuck --- arch/riscv/source.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'arch/riscv/source.mk') 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 -- cgit v1.3