summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorstefan <stefan@s00.xyz>2023-04-21 19:53:04 -0400
committerstefan <stefan@s00.xyz>2023-04-21 19:53:04 -0400
commiteff82c45c589b42061344039d5f2efc8ad7c52df (patch)
tree4c5d89eea3fa74caba5d3dbfb8567643f3747e6d /Makefile
parent821706a3fea34c18a6171cf5169d5d6d852966de (diff)
downloadsv-eff82c45c589b42061344039d5f2efc8ad7c52df.tar.gz
libfdt port and the required libc functions
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 9 insertions, 4 deletions
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