summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordzwdz2022-07-26 00:14:30 +0200
committerdzwdz2022-07-26 00:14:30 +0200
commit8c977b5cea3f2e76205bd0ed666db06a84e05f6a (patch)
tree01c0bd1ffd0afe82604fa949020b929a9d41cfdb /Makefile
parent4e4496e993942fc5361f2e4ab23798ea6a4d78b9 (diff)
user_bootstrap: link against user/lib
I have no idea why I didn't do this right from the start, it makes this whole thing much easier.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 81e128d..08613e8 100644
--- a/Makefile
+++ b/Makefile
@@ -60,7 +60,7 @@ out/fs/boot/kernel.bin: src/kernel/linker.ld $(call from_sources, src/kernel/) $
@$(CC) $(LFLAGS) -T $^ -o $@
grub-file --is-x86-multiboot $@
-out/bootstrap: src/user_bootstrap/linker.ld $(call from_sources, src/user_bootstrap/) $(call from_sources, src/shared/)
+out/bootstrap: src/user_bootstrap/linker.ld $(call from_sources, src/user_bootstrap/) $(call from_sources, src/user/lib/) $(call from_sources, src/shared/)
@mkdir -p $(@D)
@$(CC) $(LFLAGS) -T $^ -o $@