diff --git a/src/system/boot/loader/Jamfile b/src/system/boot/loader/Jamfile index d566b68b9c..b76f85493d 100644 --- a/src/system/boot/loader/Jamfile +++ b/src/system/boot/loader/Jamfile @@ -47,11 +47,7 @@ UsePrivateHeaders shared storage ; #BOOT_SUPPORT_FILE_SYSTEM_FAT ; - if $(HAIKU_BOOT_PLATFORM) != efi { - DEFINES += - BOOT_SUPPORT_ELF32 - ; - } else { + if $(HAIKU_BOOT_PLATFORM) = efi { DEFINES += _BOOT_PLATFORM_EFI ; @@ -59,6 +55,10 @@ UsePrivateHeaders shared storage ; } } + if $(HAIKU_BOOT_PLATFORM) != efi { + DEFINES += BOOT_SUPPORT_ELF32 ; + } + local kernelC++Header = [ FDirName $(HAIKU_TOP) headers private kernel util kernel_cpp.h ] ;