loader: fix defines affecting elf.cpp for other platforms

This commit is contained in:
Jessica Hamilton 2016-11-14 23:46:10 +13:00
parent 04f0d02a8f
commit 25fa3b1b8a

View File

@ -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 ] ;