build: prepare for x86 EFI loader

Change-Id: Ic9e4181042bf634cd590d8c95935a987a4871b0d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4753
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Jérôme Duval <[email protected]>
This commit is contained in:
David Karoly
2021-12-02 12:50:25 +00:00
committed by Adrien Destugues
parent f5f10a9ec9
commit c5d81c2739
3 changed files with 6 additions and 0 deletions
+2
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 :
+2
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 :