Skip to contentSkip to conversation

grub-efi: add grub target and image for aarch64

PATCH New Ricardo Salveti 1 participant 1 message Apr 18, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 grub-efi: add grub target and image for aarch64

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

---
 meta/recipes-bsp/grub/grub-efi_2.02.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-bsp/grub/grub-efi_2.02.bb +3 -0
index ed27b90..7bfc8ee 100644
@@ -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)
Signature · 1 line
2.7.4