diff options
author | Ricardo Salveti <ricardo@opensourcefoundries.com> | 2018-04-17 21:30:12 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-04 13:28:05 +0100 |
commit | c42c90805867b2b5bddb3d8b89ef69814fbfa70f (patch) | |
tree | 61e55c33b9b0e667509d64c72d9d4d98b3a6e38d | |
parent | 79dbefbf4a3c8bd5162b507d0e80560c8627a8cc (diff) | |
download | poky-c42c90805867b2b5bddb3d8b89ef69814fbfa70f.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)
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>
-rw-r--r-- | meta/recipes-bsp/grub/grub-efi_2.02.bb | 3 |
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) |