summaryrefslogtreecommitdiff
path: root/sys/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/Makefile')
-rw-r--r--sys/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/Makefile b/sys/Makefile
index 385cf7a..970809f 100644
--- a/sys/Makefile
+++ b/sys/Makefile
@@ -13,6 +13,7 @@ SRC=\
sys/printf.c\
sys/mm/kalloc.c\
sys/smp/spinlock.c\
+ dev/dev_init.c\
${BUILDDIR}/kernel.elf: ${SRC}
@@ -28,6 +29,8 @@ ${BUILDDIR}/kernel.elf: ${SRC}
-I ./include\
${CFLAGS} -T sys/kernel.lds ${LDFLAGS}\
-L../lib/libc/${BUILDDIR}/\
+ -L../lib/libfdt/${BUILDDIR}/\
+ -l:libfdt.a\
-l:libc.a\
-o $@