summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Salveti <ricardo@opensourcefoundries.com>2018-04-17 21:30:12 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-06-15 17:56:57 +0100
commit86f75467839661337b77fa63d0e05bd9b7cc86b7 (patch)
treebd1069b88fadca23dda9f94c23e3e95dcdfd6720
parenta455c1695169ff5b51a3a888f1fae6e5a3010fa6 (diff)
downloadpoky-86f75467839661337b77fa63d0e05bd9b7cc86b7.tar.gz
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. (From OE-Core rev: 43dc32aa00c87f62dcf9a857d4e32469ce27c9e9) (From OE-Core rev: df755db584d3a17505700965591eccb68695d00d) Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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)