blob: 18351e7e3c80e673da0523a10ed123a8247501ae [file] [log] [blame]
Brad Bishopa34c0302019-09-23 22:34:48 -04001# Location of EFI files inside EFI System Partition
2EFIDIR ?= "/EFI/BOOT"
3
4# Prefix where ESP is mounted inside rootfs. Set to empty if package is going
5# to be installed to ESP directly
6EFI_PREFIX ?= "/boot"
7
8# Location inside rootfs.
9EFI_FILES_PATH = "${EFI_PREFIX}${EFIDIR}"
10
Andrew Geisslerd1e89492021-02-12 15:35:20 -060011# The EFI name for the architecture
12EFI_ARCH ?= "INVALID"
Patrick Williams213cb262021-08-07 19:21:33 -050013EFI_ARCH:x86 = "ia32"
14EFI_ARCH:x86-64 = "x64"
15EFI_ARCH:aarch64 = "aa64"
16EFI_ARCH:arm = "arm"
17EFI_ARCH:riscv32 = "riscv32"
18EFI_ARCH:riscv64 = "riscv64"
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050019EFI_ARCH:loongarch64 = "loongarch64"
Andrew Geisslerd1e89492021-02-12 15:35:20 -060020
Brad Bishopa34c0302019-09-23 22:34:48 -040021# Determine name of bootloader image
Andrew Geisslerd1e89492021-02-12 15:35:20 -060022EFI_BOOT_IMAGE ?= "boot${EFI_ARCH}.efi"