From 8c977b5cea3f2e76205bd0ed666db06a84e05f6a Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 26 Jul 2022 00:14:30 +0200 Subject: 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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 $@ -- cgit v1.2.3