Jamfiles: fix TARGET_BOOT_PLATFORM tests to use = efi
This commit is contained in:
parent
f4ff9cb02c
commit
04f0d02a8f
@ -4,7 +4,7 @@ SetupFeatureObjectsDir $(TARGET_BOOT_PLATFORM) ;
|
||||
|
||||
DEFINES += _BOOT_MODE ;
|
||||
|
||||
if $(TARGET_ARCH) = x86_64 && $(TARGET_BOOT_PLATFORM) != bios_ia32 {
|
||||
if $(TARGET_ARCH) = x86_64 && $(TARGET_BOOT_PLATFORM) = efi {
|
||||
SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) libroot os arch
|
||||
x86_64 ] ;
|
||||
} else {
|
||||
|
@ -10,7 +10,7 @@ local kernelArchSources =
|
||||
|
||||
local kernelArchSpecificSources ;
|
||||
local kernelLibArchSpecificSources ;
|
||||
if $(TARGET_ARCH) = x86_64 && $(TARGET_BOOT_PLATFORM) != bios_ia32 {
|
||||
if $(TARGET_ARCH) = x86_64 && $(TARGET_BOOT_PLATFORM) = efi {
|
||||
kernelArchSpecificSources = cpuid.cpp ;
|
||||
kernelLibArchSpecificSources = arch_string.cpp ;
|
||||
} else {
|
||||
@ -33,7 +33,7 @@ BootMergeObject boot_arch_$(TARGET_KERNEL_ARCH).o :
|
||||
SEARCH on [ FGristFiles $(kernelArchSources) ]
|
||||
= [ FDirName $(HAIKU_TOP) src system kernel arch x86 ] ;
|
||||
|
||||
if $(TARGET_ARCH) = x86_64 && $(TARGET_BOOT_PLATFORM) != bios_ia32 {
|
||||
if $(TARGET_ARCH) = x86_64 && $(TARGET_BOOT_PLATFORM) = efi {
|
||||
SEARCH on [ FGristFiles $(kernelArchSpecificSources) ]
|
||||
= [ FDirName $(HAIKU_TOP) src system kernel arch x86 64 ] ;
|
||||
SEARCH on [ FGristFiles $(kernelLibArchSpecificSources) ]
|
||||
|
Loading…
Reference in New Issue
Block a user