enable EFI boot for 32-bit ISO image

Building EFI partition for 32-bit anyboot ISO image was disabled
in hrev52443 to fix issue #14656.

As haiku_loader.efi is now available for the x86 architecture
since hrev55917, we can re-enable building EFI system partition
for the 32-bit ISO.

We can also remove the build rules related to HAIKU_ANYBOOT_LEGACY
as it is not used any more.

Change-Id: I9c2c272bcd0f9c1a98ee6cea300374dc26b4818d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5716
Reviewed-by: Fredrik Holmqvist <[email protected]>
Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
David Karoly
2022-10-06 20:12:05 +00:00
committed by Adrien Destugues
parent 6eff9ae623
commit 05c1a8991e
4 changed files with 5 additions and 38 deletions
+4 -14
View File
@@ -1589,7 +1589,7 @@ actions BuildFloppyBootImageFixupM68K
#pragma mark - CD Boot Image rules
rule BuildCDBootImage image : bootfloppy : bootefi : extrafiles
rule BuildCDBootImageEFI image : bootfloppy : bootefi : extrafiles
{
Depends $(image) : $(bootfloppy) ;
Depends $(image) : $(bootefi) ;
@@ -1602,21 +1602,11 @@ rule BuildCDBootImage image : bootfloppy : bootefi : extrafiles
VOLID on $(image) = haiku-$(HAIKU_VERSION)-$(TARGET_ARCH) ;
}
if $(HAIKU_ANYBOOT_LEGACY) = 1 {
BuildCDBootImageMBR $(image) : $(bootfloppy) $(extrafiles) ;
} else {
BOOTEFI on $(image) = $(bootefi) ;
BuildCDBootImageEFI $(image) : $(bootfloppy) $(bootefi) $(extrafiles) ;
}
BOOTEFI on $(image) = $(bootefi) ;
BuildCDBootImageEFI1 $(image) : $(bootfloppy) $(bootefi) $(extrafiles) ;
}
actions BuildCDBootImageMBR
{
$(RM) $(<)
xorriso -as mkisofs -b $(BOOTIMG) -r -J -V $(VOLID) -o $(<) $(>[1]) $(>[2-])
}
actions BuildCDBootImageEFI
actions BuildCDBootImageEFI1
{
$(RM) $(<)
xorriso -as mkisofs -b $(BOOTIMG) -eltorito-alt-boot -no-emul-boot -e $(BOOTEFI) \