summaryrefslogtreecommitdiffstats
path: root/meta/conf/image-uefi.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf/image-uefi.conf')
-rw-r--r--meta/conf/image-uefi.conf15
1 files changed, 11 insertions, 4 deletions
diff --git a/meta/conf/image-uefi.conf b/meta/conf/image-uefi.conf
index 882a0e720c..aec91bcfe2 100644
--- a/meta/conf/image-uefi.conf
+++ b/meta/conf/image-uefi.conf
@@ -1,19 +1,26 @@
1# Location of EFI files inside EFI System Partition 1# Location of EFI files inside EFI System Partition
2EFIDIR ?= "/EFI/BOOT" 2EFIDIR ?= "/EFI/BOOT"
3 3
4# Location of UKI inside EFI System Partition
5EFI_UKI_DIR ?= "/EFI/Linux"
6
4# Prefix where ESP is mounted inside rootfs. Set to empty if package is going 7# Prefix where ESP is mounted inside rootfs. Set to empty if package is going
5# to be installed to ESP directly 8# to be installed to ESP directly
6EFI_PREFIX ?= "/boot" 9EFI_PREFIX ?= "/boot"
7 10
8# Location inside rootfs. 11# Location inside rootfs.
9EFI_FILES_PATH = "${EFI_PREFIX}${EFIDIR}" 12EFI_FILES_PATH = "${EFI_PREFIX}${EFIDIR}"
13EFI_UKI_PATH = "${EFI_PREFIX}${EFI_UKI_DIR}"
10 14
11# The EFI name for the architecture 15# The EFI name for the architecture
12EFI_ARCH ?= "INVALID" 16EFI_ARCH ?= "INVALID"
13EFI_ARCH_x86 = "ia32" 17EFI_ARCH:x86 = "ia32"
14EFI_ARCH_x86-64 = "x64" 18EFI_ARCH:x86-64 = "x64"
15EFI_ARCH_aarch64 = "aa64" 19EFI_ARCH:aarch64 = "aa64"
16EFI_ARCH_arm = "arm" 20EFI_ARCH:arm = "arm"
21EFI_ARCH:riscv32 = "riscv32"
22EFI_ARCH:riscv64 = "riscv64"
23EFI_ARCH:loongarch64 = "loongarch64"
17 24
18# Determine name of bootloader image 25# Determine name of bootloader image
19EFI_BOOT_IMAGE ?= "boot${EFI_ARCH}.efi" 26EFI_BOOT_IMAGE ?= "boot${EFI_ARCH}.efi"