Add atomic_*() functions to boot loader
This commit is contained in:
@@ -25,6 +25,10 @@ local librootFunctions =
|
|||||||
strtol.o
|
strtol.o
|
||||||
;
|
;
|
||||||
|
|
||||||
|
local librootArchFunctions =
|
||||||
|
atomic.o
|
||||||
|
;
|
||||||
|
|
||||||
local extraLinkerArgs = ;
|
local extraLinkerArgs = ;
|
||||||
if $(HAIKU_BOARD_LOADER_BASE) {
|
if $(HAIKU_BOARD_LOADER_BASE) {
|
||||||
extraLinkerArgs += --defsym BOARD_LOADER_BASE=$(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
|
# libroot functions needed by the stage2 boot loader (compiled for the
|
||||||
# kernel)
|
# kernel)
|
||||||
$(librootFunctions:G=src!system!kernel!lib)
|
$(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
|
: $(HAIKU_TOP)/src/system/ldscripts/$(TARGET_ARCH)/boot_loader_$(TARGET_BOOT_PLATFORM).ld
|
||||||
: -Bstatic $(extraLinkerArgs)
|
: -Bstatic $(extraLinkerArgs)
|
||||||
|
|||||||
Reference in New Issue
Block a user