[OE-core] [OE-core Yocto PATCH 1/4] grub-efi: Add to support to install grubaa64 efi

Naresh Bhat naresh.bhat at linaro.org
Tue Mar 3 15:46:21 UTC 2015


Add to support to install grubaa64.efi binary for aarch64

Signed-off-by: Naresh Bhat <naresh.bhat at linaro.org>
Signed-off-by: Matt Fleming <matt.fleming at intel.com>
---
 meta/classes/grub-efi.bbclass |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass
index 47bd35e..455dc8d 100644
--- a/meta/classes/grub-efi.bbclass
+++ b/meta/classes/grub-efi.bbclass
@@ -37,6 +37,9 @@ efi_populate() {
 	if [ "${TARGET_ARCH}" = "x86_64" ]; then
 		GRUB_IMAGE="bootx64.efi"
 	fi
+	if [ "${TARGET_ARCH}" = "aarch64" ]; then
+                GRUB_IMAGE="grubaa64.efi"
+        fi
 	install -m 0644 ${DEPLOY_DIR_IMAGE}/${GRUB_IMAGE} ${DEST}${EFIDIR}
 
 	install -m 0644 ${GRUBCFG} ${DEST}${EFIDIR}
-- 
1.7.9.5




More information about the Openembedded-core mailing list