mirror of
https://git.yoctoproject.org/poky
synced 2026-04-05 08:02:25 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
fa23fa907b
commit
29537ac86a
@@ -33,7 +33,7 @@ COMPATIBLE_HOST_armv7ve = 'null'
|
||||
# configure.ac has code to set this automagically from the target tuple
|
||||
# but the OE freeform one (core2-foo-bar-linux) don't work with that.
|
||||
|
||||
GRUBPLATFORM_arm = "uboot"
|
||||
GRUBPLATFORM_arm = "efi"
|
||||
GRUBPLATFORM_aarch64 = "efi"
|
||||
GRUBPLATFORM ??= "pc"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user