From 7cc34f755b68498715530e6e34edc8b35802b021 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 8 Dec 2005 11:08:26 +0000 Subject: [PATCH] Removed cpuid.o from boot loader build for PPC. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15412 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/boot/Jamfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/system/boot/Jamfile b/src/system/boot/Jamfile index a8a5547e0e..70fae82d07 100644 --- a/src/system/boot/Jamfile +++ b/src/system/boot/Jamfile @@ -24,6 +24,11 @@ local librootFunctions = strtol.o ; +local platformObjects = ; +if $(TARGET_ARCH) = x86 { + platformObjects += cpuid.o ; +} + KernelLd boot_loader : boot_platform_$(TARGET_BOOT_PLATFORM).o boot_loader.a @@ -40,8 +45,8 @@ KernelLd boot_loader : # kernel) $(librootFunctions:G=src!system!kernel!lib) - # other kernel objects - cpuid.o + # platform specific objects + $(platformObjects) : $(HAIKU_TOP)/src/system/ldscripts/$(TARGET_ARCH)/boot_loader.ld : -Bstatic