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.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/riscv/source.mk b/arch/riscv/source.mk
index fb645f7..cf8edd7 100644
--- a/arch/riscv/source.mk
+++ b/arch/riscv/source.mk
@@ -2,8 +2,12 @@ KERNEL_LOCAL != echo arch/riscv/*.[cS]
KERNEL_SOURCES += $(KERNEL_LOCAL)
INIT_LOCAL != echo arch/riscv/init/*.[cS]
-INIT_SOURCES += $(INIT_LOCAL)
+INIT_FDT != echo lib/fdt*.c
+INIT_SOURCES += $(INIT_LOCAL) $(INIT_FDT)
CLEANUP_CMD := ./arch/riscv/conf/rmimage.sh
+
+USE_FDT := y
+
run:
./arch/riscv/conf/mkimage.sh