]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - kernel/Makefile
Move some freestanding libc functions from the kernel into
[polintos/scott/priv.git] / kernel / Makefile
index 1086acf01badbdd6aca462115a6cea2ceac481e3..895841503a5a8405c74ba629f5735ec522ec1b2b 100644 (file)
@@ -19,6 +19,8 @@ include lib/Makefile
 include tests/Makefile
 
 TARGETS := $(BUILDDIR)/kernel $(BUILDDIR)/kernel.stripped
+RAW_LIBS := c/libfreestanding.a
+LIBS += $(RAW_LIBS:%=$(ARCHBUILDDIR)/user/lib/%)
 
 .PHONY: symlinks
 symlinks: