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:
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 :
|
||||
|
@ -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 :
|
||||
|
Loading…
Reference in New Issue
Block a user