From eff82c45c589b42061344039d5f2efc8ad7c52df Mon Sep 17 00:00:00 2001 From: stefan Date: Fri, 21 Apr 2023 19:53:04 -0400 Subject: libfdt port and the required libc functions --- Makefile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 68e0301..fead60d 100644 --- a/Makefile +++ b/Makefile @@ -8,19 +8,24 @@ CFLAGS+=-ggdb .endif .export -sys: ${SRC} lib/build/libc.a +sys: ${SRC} lib/libc/build/libc.a lib/libfdt/build/libfdt.a @echo "building kernel" (${MAKE} -C sys -e) -lib/build/libc.a: +lib/libc/build/libc.a: @echo "building libc" - (${MAKE} -C lib -e) + (${MAKE} -C lib/libc -e) + +lib/libfdt/build/libfdt.a: + @echo "building libfdt" + (${MAKE} -C lib/libfdt -e) debug: sys (${MAKE} -C sys -e debug) clean: (${MAKE} -C sys -e clean) - (${MAKE} -C lib -e clean) + (${MAKE} -C lib/libc -e clean) + (${MAKE} -C lib/libfdt -e clean) .PHONY: sys debug all clean -- cgit v1.2.3