From 8ba02058b949cc9b6145cefe22d9c7a8f55a2f44 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 19 Jun 2011 21:15:20 +0200 Subject: [PATCH] Add atomic_*() functions to boot loader --- src/system/boot/Jamfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/system/boot/Jamfile b/src/system/boot/Jamfile index 3845fd1313..4f13a06693 100644 --- a/src/system/boot/Jamfile +++ b/src/system/boot/Jamfile @@ -25,6 +25,10 @@ local librootFunctions = strtol.o ; +local librootArchFunctions = + atomic.o +; + local extraLinkerArgs = ; if $(HAIKU_BOARD_LOADER_BASE) { extraLinkerArgs += --defsym BOARD_LOADER_BASE=$(HAIKU_BOARD_LOADER_BASE) ; @@ -59,6 +63,7 @@ KernelLd boot_loader_$(TARGET_BOOT_PLATFORM) : # libroot functions needed by the stage2 boot loader (compiled for the # kernel) $(librootFunctions:G=src!system!kernel!lib) + $(librootArchFunctions:G=src!system!kernel!lib!arch!$(TARGET_ARCH)) : $(HAIKU_TOP)/src/system/ldscripts/$(TARGET_ARCH)/boot_loader_$(TARGET_BOOT_PLATFORM).ld : -Bstatic $(extraLinkerArgs)