blob: aec91bcfe2bde2fbbb4569b08af6822cc47cbc40 [file] [log] [blame]
Brad Bishopa34c0302019-09-23 22:34:48 -04001# Location of EFI files inside EFI System Partition
2EFIDIR ?= "/EFI/BOOT"
3
Patrick Williams169d7bc2024-01-05 11:33:25 -06004# Location of UKI inside EFI System Partition
5EFI_UKI_DIR ?= "/EFI/Linux"
6
Brad Bishopa34c0302019-09-23 22:34:48 -04007# Prefix where ESP is mounted inside rootfs. Set to empty if package is going
8# to be installed to ESP directly
9EFI_PREFIX ?= "/boot"
10
11# Location inside rootfs.
12EFI_FILES_PATH = "${EFI_PREFIX}${EFIDIR}"
Patrick Williams169d7bc2024-01-05 11:33:25 -060013EFI_UKI_PATH = "${EFI_PREFIX}${EFI_UKI_DIR}"
Brad Bishopa34c0302019-09-23 22:34:48 -040014
Andrew Geisslerd1e89492021-02-12 15:35:20 -060015# The EFI name for the architecture
16EFI_ARCH ?= "INVALID"
Patrick Williams213cb262021-08-07 19:21:33 -050017EFI_ARCH:x86 = "ia32"
18EFI_ARCH:x86-64 = "x64"
19EFI_ARCH:aarch64 = "aa64"
20EFI_ARCH:arm = "arm"
21EFI_ARCH:riscv32 = "riscv32"
22EFI_ARCH:riscv64 = "riscv64"
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050023EFI_ARCH:loongarch64 = "loongarch64"
Andrew Geisslerd1e89492021-02-12 15:35:20 -060024
Brad Bishopa34c0302019-09-23 22:34:48 -040025# Determine name of bootloader image
Andrew Geisslerd1e89492021-02-12 15:35:20 -060026EFI_BOOT_IMAGE ?= "boot${EFI_ARCH}.efi"