summaryrefslogtreecommitdiff
path: root/sys/Makefile
diff options
context:
space:
mode:
authorstefan <stefan@s00.xyz>2023-04-21 21:56:45 -0400
committerstefan <stefan@s00.xyz>2023-04-21 21:56:45 -0400
commit386ad4f82955d389ae347bc50f7efca5edb9d9a8 (patch)
treec18143b0a593e80145f003707a4eb29fa25d0f33 /sys/Makefile
parenteff82c45c589b42061344039d5f2efc8ad7c52df (diff)
downloadsv-386ad4f82955d389ae347bc50f7efca5edb9d9a8.tar.gz
actually got libfdt working
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 $@