From e4bd4b6b58e106c0a82323099849a0001cdce8c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 5 Sep 2003 02:01:43 +0000 Subject: [PATCH] Added the full monty to build the boot loader. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4511 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/Jamfile | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/kernel/Jamfile b/src/kernel/Jamfile index 08a82b5d8d..a847342696 100644 --- a/src/kernel/Jamfile +++ b/src/kernel/Jamfile @@ -1,8 +1,24 @@ SubDir OBOS_TOP src kernel ; KernelLd boot_loader : - boot_loader.a boot_platform_$(OBOS_BOOT_PLATFORM).o + boot_loader.a + + # posix functions needed by the stage2 boot loader + <$(SOURCE_GRIST)!libroot!posix!locale>ctype.o + <$(SOURCE_GRIST)!libroot!posix!stdio>kvsprintf.o + <$(SOURCE_GRIST)!libroot!posix!string>memset.o + <$(SOURCE_GRIST)!libroot!posix!string>memcpy.o + <$(SOURCE_GRIST)!libroot!posix!string>memmove.o + <$(SOURCE_GRIST)!libroot!posix!string>strlen.o + <$(SOURCE_GRIST)!libroot!posix!string>strnlen.o + <$(SOURCE_GRIST)!libroot!posix!string>strcmp.o + <$(SOURCE_GRIST)!libroot!posix!string>strncmp.o + : + $(SUBDIR)/ldscripts/$(OBOS_ARCH)/stage2.ld + : + -Bstatic + : ; KernelLd stage2 :