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:
committed by
Adrien Destugues
parent
f5f10a9ec9
commit
c5d81c2739
@@ -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 :
|
||||
|
||||
@@ -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 :
|
||||
|
||||
Reference in New Issue
Block a user