build: prepare for x86 EFI loader

Change-Id: Ic9e4181042bf634cd590d8c95935a987a4871b0d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4753
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
This commit is contained in:
David Karoly 2021-12-01 14:21:25 +01:00 committed by Adrien Destugues
parent f5f10a9ec9
commit c5d81c2739
3 changed files with 6 additions and 0 deletions

View File

@ -1685,6 +1685,8 @@ rule BuildEfiSystemPartition image : efiLoader
Depends $(image) : $(fatshell) ;
switch $(TARGET_ARCH) {
case x86 :
EFINAME on $(image) = "BOOTIA32.EFI" ;
case x86_64 :
EFINAME on $(image) = "BOOTX64.EFI" ;
case arm :

View File

@ -22,6 +22,8 @@ rule BuildSDImage image : files
if $(TARGET_BOOT_PLATFORM) = efi {
switch $(TARGET_ARCH) {
case x86 :
EFINAME on $(image) = "BOOTIA32.EFI" ;
case x86_64 :
EFINAME on $(image) = "BOOTX64.EFI" ;
case arm :

View File

@ -107,6 +107,8 @@ rule BuildEFILoader {
Depends $(efiLoader) : $(bootLoader) ;
switch $(TARGET_ARCH) {
case x86 :
OUTPUT_TARGET on $(efiLoader) = pei-i386 ;
case x86_64 :
OUTPUT_TARGET on $(efiLoader) = pei-x86-64 ;
case arm :