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 ;
|
SubDirC++Flags -fno-rtti ;
|
||||||
|
|
||||||
BootStaticLibrary boot_platform_openfirmware_ppc.o :
|
local platform ;
|
||||||
arch_mmu.cpp
|
for platform in [ MultiBootSubDirSetup openfirmware ] {
|
||||||
arch_cpu_asm.S
|
on $(platform) {
|
||||||
arch_start_kernel.S
|
|
||||||
cpu.cpp
|
BootMergeObject boot_platform_openfirmware_ppc.o :
|
||||||
mmu.cpp
|
arch_mmu.cpp
|
||||||
start.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 ;
|
SubDirC++Flags -fno-rtti ;
|
||||||
|
|
||||||
BootMergeObject boot_platform_openfirmware_sparc.o :
|
local platform ;
|
||||||
arch_start_kernel.S
|
for platform in [ MultiBootSubDirSetup openfirmware ] {
|
||||||
cpu.cpp
|
on $(platform) {
|
||||||
mmu.cpp
|
|
||||||
start.cpp
|
|
||||||
;
|
|
||||||
|
|
||||||
SEARCH on [ FGristFiles arch_cpu_asm.S arch_mmu.cpp ]
|
BootMergeObject boot_platform_openfirmware_sparc.o :
|
||||||
= [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_KERNEL_ARCH) ] ;
|
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