Support booting both BIOS and UEFI from the same image
This commit is contained in:
parent
b9b54f7c71
commit
68c91c801f
1 changed files with 103 additions and 83 deletions
|
|
@ -58,9 +58,13 @@ INSTALLER=\
|
|||
|
||||
## Bootloader variables
|
||||
ifeq ($(ARCH),x86_64)
|
||||
BOOTLOADER_BIOS=build/bootloader.bin
|
||||
BOOTLOADER_BIOS_LIVE=build/bootloader-live.bin
|
||||
BOOTLOADER_EFI_PATH=efi/boot/bootx64.efi
|
||||
BOOTLOADER_TARGET=x86-unknown-none
|
||||
else ifeq ($(ARCH),i686)
|
||||
BOOTLOADER_BIOS=build/bootloader.bin
|
||||
BOOTLOADER_BIOS_LIVE=build/bootloader-live.bin
|
||||
BOOTLOADER_EFI_PATH=efi/boot/bootia32.efi
|
||||
BOOTLOADER_TARGET=x86-unknown-none
|
||||
else ifeq ($(ARCH),aarch64)
|
||||
|
|
|
|||
Loading…
Reference in a new issue