From 386ad4f82955d389ae347bc50f7efca5edb9d9a8 Mon Sep 17 00:00:00 2001 From: stefan Date: Fri, 21 Apr 2023 21:56:45 -0400 Subject: actually got libfdt working --- sys/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/Makefile') 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 $@ -- cgit v1.2.3