summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/grub/grub-efi_2.02.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp/grub/grub-efi_2.02.bb')
-rw-r--r--meta/recipes-bsp/grub/grub-efi_2.02.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-bsp/grub/grub-efi_2.02.bb b/meta/recipes-bsp/grub/grub-efi_2.02.bb
index ed27b90fdb..7bfc8eece4 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 () {
22 elif re.match('i.86', target): 22 elif re.match('i.86', target):
23 grubtarget = 'i386' 23 grubtarget = 'i386'
24 grubimage = prefix + "bootia32.efi" 24 grubimage = prefix + "bootia32.efi"
25 elif re.match('aarch64', target):
26 grubtarget = 'arm64'
27 grubimage = prefix + "bootaa64.efi"
25 else: 28 else:
26 raise bb.parse.SkipRecipe("grub-efi is incompatible with target %s" % target) 29 raise bb.parse.SkipRecipe("grub-efi is incompatible with target %s" % target)
27 d.setVar("GRUB_TARGET", grubtarget) 30 d.setVar("GRUB_TARGET", grubtarget)