[OE-core] [PATCH v2] grub-efi: add grub target and image for aarch64

Ricardo Salveti ricardo at opensourcefoundries.com
Wed Apr 18 00:30:12 UTC 2018


Add missing target and image for aarch64, as the current revision is
already fully compatible with ARMv8.

Signed-off-by: Ricardo Salveti <ricardo at opensourcefoundries.com>
---
 meta/recipes-bsp/grub/grub-efi_2.02.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-bsp/grub/grub-efi_2.02.bb b/meta/recipes-bsp/grub/grub-efi_2.02.bb
index ed27b90..7bfc8ee 100644
--- a/meta/recipes-bsp/grub/grub-efi_2.02.bb
+++ b/meta/recipes-bsp/grub/grub-efi_2.02.bb
@@ -22,6 +22,9 @@ python __anonymous () {
     elif re.match('i.86', target):
         grubtarget = 'i386'
         grubimage = prefix + "bootia32.efi"
+    elif re.match('aarch64', target):
+        grubtarget = 'arm64'
+        grubimage = prefix + "bootaa64.efi"
     else:
         raise bb.parse.SkipRecipe("grub-efi is incompatible with target %s" % target)
     d.setVar("GRUB_TARGET", grubtarget)
-- 
2.7.4




More information about the Openembedded-core mailing list