summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>2019-09-18 16:12:41 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-19 10:54:26 +0100
commit9c4945f1f0607c89e7cb10dda41ab742e169c075 (patch)
tree7df362f4bb7044fcf573d849bd948090b94fa06c
parent54b3adb6bc90a8e4b9e92952688772ee074d36e5 (diff)
downloadopenembedded-core-contrib-9c4945f1f0607c89e7cb10dda41ab742e169c075.tar.gz
openembedded-core-contrib-9c4945f1f0607c89e7cb10dda41ab742e169c075.tar.bz2
openembedded-core-contrib-9c4945f1f0607c89e7cb10dda41ab742e169c075.zip
image-uefi.conf: add config file holding configuration for UEFI images
Create new config file defining common variables for all UEFI-related packages (bootloaders, test applications, etc). Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/image-uefi.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/conf/image-uefi.conf b/meta/conf/image-uefi.conf
new file mode 100644
index 0000000000..aaeff12ccb
--- /dev/null
+++ b/meta/conf/image-uefi.conf
@@ -0,0 +1,16 @@
+# Location of EFI files inside EFI System Partition
+EFIDIR ?= "/EFI/BOOT"
+
+# Prefix where ESP is mounted inside rootfs. Set to empty if package is going
+# to be installed to ESP directly
+EFI_PREFIX ?= "/boot"
+
+# Location inside rootfs.
+EFI_FILES_PATH = "${EFI_PREFIX}${EFIDIR}"
+
+# Determine name of bootloader image
+EFI_BOOT_IMAGE ?= "bootINVALID.efi"
+EFI_BOOT_IMAGE_x86-64 = "bootx64.efi"
+EFI_BOOT_IMAGE_x86 = "bootia32.efi"
+EFI_BOOT_IMAGE_aarch64 = "bootaa64.efi"
+EFI_BOOT_IMAGE_arm = "bootarm.efi"