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 | |
| 4 | # Prefix where ESP is mounted inside rootfs. Set to empty if package is going |
| 5 | # to be installed to ESP directly |
| 6 | EFI_PREFIX ?= "/boot" |
| 7 | |
| 8 | # Location inside rootfs. |
| 9 | EFI_FILES_PATH = "${EFI_PREFIX}${EFIDIR}" |
| 10 | |
Andrew Geissler | c723b72 | 2021-01-08 16:14:09 -0600 | [diff] [blame] | 11 | # The EFI name for the architecture |
| 12 | EFI_ARCH ?= "INVALID" |
| 13 | EFI_ARCH_x86 = "ia32" |
| 14 | EFI_ARCH_x86-64 = "x64" |
| 15 | EFI_ARCH_aarch64 = "aa64" |
| 16 | EFI_ARCH_arm = "arm" |
| 17 | |
Brad Bishop | a34c030 | 2019-09-23 22:34:48 -0400 | [diff] [blame] | 18 | # Determine name of bootloader image |
Andrew Geissler | c723b72 | 2021-01-08 16:14:09 -0600 | [diff] [blame] | 19 | EFI_BOOT_IMAGE ?= "boot${EFI_ARCH}.efi" |