summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp
diff options
context:
space:
mode:
authorKristian Amlie <kristian.amlie@northern.tech>2018-07-10 16:07:12 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-13 16:32:38 +0100
commit65f9fb788371a9a08e3b0e6febecb9cc2aaeefe7 (patch)
tree23c6385defad6ad9c162cb7c7c33fdac98b4da2f /meta/recipes-bsp
parent16956dacd4be2c64e5816ccb2b222b5b128838c9 (diff)
downloadopenembedded-core-65f9fb788371a9a08e3b0e6febecb9cc2aaeefe7.tar.gz
openembedded-core-65f9fb788371a9a08e3b0e6febecb9cc2aaeefe7.tar.bz2
openembedded-core-65f9fb788371a9a08e3b0e6febecb9cc2aaeefe7.zip
grub-efi: Provide target architecture for 32-bit ARM.
Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-bsp')
-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 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 () {
elif re.match('aarch64', target):
grubtarget = 'arm64'
grubimage = prefix + "bootaa64.efi"
+ elif re.match('arm', target):
+ grubtarget = 'arm'
+ grubimage = prefix + "bootarm.efi"
else:
raise bb.parse.SkipRecipe("grub-efi is incompatible with target %s" % target)
d.setVar("GRUB_TARGET", grubtarget)