openfirmware: fix jamfiles
Without the MultiArchDirSetup, these would not use the boot cflags, and end up being compiled position-independant. Of course, the a.out format does not allow relocations, so this could not work. Change-Id: I6bb570e545f1533200511e6881f71feedb77025b Reviewed-on: https://review.haiku-os.org/c/1481 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
@@ -8,14 +8,20 @@ UsePrivateHeaders kernel [ FDirName kernel arch $(TARGET_KERNEL_ARCH) ]
|
||||
|
||||
SubDirC++Flags -fno-rtti ;
|
||||
|
||||
BootStaticLibrary boot_platform_openfirmware_ppc.o :
|
||||
arch_mmu.cpp
|
||||
arch_cpu_asm.S
|
||||
arch_start_kernel.S
|
||||
cpu.cpp
|
||||
mmu.cpp
|
||||
start.cpp
|
||||
;
|
||||
local platform ;
|
||||
for platform in [ MultiBootSubDirSetup openfirmware ] {
|
||||
on $(platform) {
|
||||
|
||||
BootMergeObject boot_platform_openfirmware_ppc.o :
|
||||
arch_mmu.cpp
|
||||
arch_cpu_asm.S
|
||||
arch_start_kernel.S
|
||||
cpu.cpp
|
||||
mmu.cpp
|
||||
start.cpp
|
||||
;
|
||||
SEARCH on [ FGristFiles arch_cpu_asm.S arch_mmu.cpp ]
|
||||
= [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_KERNEL_ARCH) ] ;
|
||||
}
|
||||
}
|
||||
|
||||
SEARCH on [ FGristFiles arch_cpu_asm.S arch_mmu.cpp ]
|
||||
= [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_KERNEL_ARCH) ] ;
|
||||
|
||||
@@ -8,12 +8,18 @@ UsePrivateHeaders kernel [ FDirName kernel arch $(TARGET_KERNEL_ARCH) ]
|
||||
|
||||
SubDirC++Flags -fno-rtti ;
|
||||
|
||||
BootMergeObject boot_platform_openfirmware_sparc.o :
|
||||
arch_start_kernel.S
|
||||
cpu.cpp
|
||||
mmu.cpp
|
||||
start.cpp
|
||||
;
|
||||
local platform ;
|
||||
for platform in [ MultiBootSubDirSetup openfirmware ] {
|
||||
on $(platform) {
|
||||
|
||||
SEARCH on [ FGristFiles arch_cpu_asm.S arch_mmu.cpp ]
|
||||
= [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_KERNEL_ARCH) ] ;
|
||||
BootMergeObject boot_platform_openfirmware_sparc.o :
|
||||
arch_start_kernel.S
|
||||
cpu.cpp
|
||||
mmu.cpp
|
||||
start.cpp
|
||||
;
|
||||
|
||||
SEARCH on [ FGristFiles arch_cpu_asm.S arch_mmu.cpp ]
|
||||
= [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_KERNEL_ARCH) ] ;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user