Brad Bishop | a34c030 | 2019-09-23 22:34:48 -0400 | [diff] [blame] | 1 | # Location of EFI files inside EFI System Partition |
| 2 | EFIDIR ?= "/EFI/BOOT" |
| 3 | |
Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 4 | # Location of UKI inside EFI System Partition |
| 5 | EFI_UKI_DIR ?= "/EFI/Linux" |
| 6 | |
Brad Bishop | a34c030 | 2019-09-23 22:34:48 -0400 | [diff] [blame] | 7 | # Prefix where ESP is mounted inside rootfs. Set to empty if package is going |
| 8 | # to be installed to ESP directly |
| 9 | EFI_PREFIX ?= "/boot" |
| 10 | |
| 11 | # Location inside rootfs. |
| 12 | EFI_FILES_PATH = "${EFI_PREFIX}${EFIDIR}" |
Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 13 | EFI_UKI_PATH = "${EFI_PREFIX}${EFI_UKI_DIR}" |
Brad Bishop | a34c030 | 2019-09-23 22:34:48 -0400 | [diff] [blame] | 14 | |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 15 | # The EFI name for the architecture |
| 16 | EFI_ARCH ?= "INVALID" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 17 | EFI_ARCH:x86 = "ia32" |
| 18 | EFI_ARCH:x86-64 = "x64" |
| 19 | EFI_ARCH:aarch64 = "aa64" |
| 20 | EFI_ARCH:arm = "arm" |
| 21 | EFI_ARCH:riscv32 = "riscv32" |
| 22 | EFI_ARCH:riscv64 = "riscv64" |
Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 23 | EFI_ARCH:loongarch64 = "loongarch64" |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 24 | |
Brad Bishop | a34c030 | 2019-09-23 22:34:48 -0400 | [diff] [blame] | 25 | # Determine name of bootloader image |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 26 | EFI_BOOT_IMAGE ?= "boot${EFI_ARCH}.efi" |