aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/source.mk
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/source.mk')
-rw-r--r--arch/riscv/source.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/riscv/source.mk b/arch/riscv/source.mk
new file mode 100644
index 0000000..f52750c
--- /dev/null
+++ b/arch/riscv/source.mk
@@ -0,0 +1,5 @@
+LOCAL_KERNEL_SOURCES := main.c init/head.S init/init.c
+KERNEL_SOURCES += $(addprefix arch/riscv/,$(LOCAL_KERNEL_SOURCES))
+
+INCLUDE_DIRS += arch/riscv/include
+LINKER_SOURCE := arch/riscv/riscv-link.S