diff options
author | Kristian Amlie <kristian.amlie@northern.tech> | 2018-07-10 16:07:12 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-15 16:16:16 +0100 |
commit | c7443c85c381ed0f54bbb35c6bb4097a34eef560 (patch) | |
tree | df6e7aa9467b553f2f9dc2805cd4885f6cb5e8a4 /meta | |
parent | ebbd1e4a94c675c1669860d7cd554d18f010e5b5 (diff) | |
download | poky-c7443c85c381ed0f54bbb35c6bb4097a34eef560.tar.gz |
grub-efi: Provide target architecture for 32-bit ARM.
(From OE-Core rev: 65f9fb788371a9a08e3b0e6febecb9cc2aaeefe7)
Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 7bfc8eece4..14fce97ff0 100644 --- a/meta/recipes-bsp/grub/grub-efi_2.02.bb +++ b/meta/recipes-bsp/grub/grub-efi_2.02.bb | |||
@@ -25,6 +25,9 @@ python __anonymous () { | |||
25 | elif re.match('aarch64', target): | 25 | elif re.match('aarch64', target): |
26 | grubtarget = 'arm64' | 26 | grubtarget = 'arm64' |
27 | grubimage = prefix + "bootaa64.efi" | 27 | grubimage = prefix + "bootaa64.efi" |
28 | elif re.match('arm', target): | ||
29 | grubtarget = 'arm' | ||
30 | grubimage = prefix + "bootarm.efi" | ||
28 | else: | 31 | else: |
29 | raise bb.parse.SkipRecipe("grub-efi is incompatible with target %s" % target) | 32 | raise bb.parse.SkipRecipe("grub-efi is incompatible with target %s" % target) |
30 | d.setVar("GRUB_TARGET", grubtarget) | 33 | d.setVar("GRUB_TARGET", grubtarget) |