diff options
author | Mingli Yu <Mingli.Yu@windriver.com> | 2018-07-23 15:37:42 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-26 13:16:41 +0100 |
commit | 29537ac86ae0ebbbef4b7e0474716e7196d3abda (patch) | |
tree | 12703e0a3708f21ada6bb76a59085fdd7fea370f /meta/recipes-bsp/grub | |
parent | fa23fa907bad1aaba638537676ca638ea447b83d (diff) | |
download | poky-29537ac86ae0ebbbef4b7e0474716e7196d3abda.tar.gz |
grub2.inc: set GRUBPLATFORM_arm to efi
* grub-efi support on arm is enabled as below
commit:
commit 65f9fb788371a9a08e3b0e6febecb9cc2aaeefe7
Author: Kristian Amlie <kristian.amlie@northern.tech>
Date: Tue Jul 10 16:07:12 2018 +0200
grub-efi: Provide target architecture for 32-bit ARM.
* But it fails on arm as below:
| grub-mkimage: error: cannot open `./grub-core//serial.mod': No such file or directory.
Set GRUBPLATFORM_arm = "efi" to fix the above error
(From OE-Core rev: 6ad431974d96aec29d12079be8b94c479b91c446)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/grub')
-rw-r--r-- | meta/recipes-bsp/grub/grub2.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc index 230c585691..325eca25bb 100644 --- a/meta/recipes-bsp/grub/grub2.inc +++ b/meta/recipes-bsp/grub/grub2.inc | |||
@@ -33,7 +33,7 @@ COMPATIBLE_HOST_armv7ve = 'null' | |||
33 | # configure.ac has code to set this automagically from the target tuple | 33 | # configure.ac has code to set this automagically from the target tuple |
34 | # but the OE freeform one (core2-foo-bar-linux) don't work with that. | 34 | # but the OE freeform one (core2-foo-bar-linux) don't work with that. |
35 | 35 | ||
36 | GRUBPLATFORM_arm = "uboot" | 36 | GRUBPLATFORM_arm = "efi" |
37 | GRUBPLATFORM_aarch64 = "efi" | 37 | GRUBPLATFORM_aarch64 = "efi" |
38 | GRUBPLATFORM ??= "pc" | 38 | GRUBPLATFORM ??= "pc" |
39 | 39 | ||