[oe-commits] [openembedded-core] 38/58: grub2.inc: set GRUBPLATFORM_arm to efi

git at git.openembedded.org git at git.openembedded.org
Wed Jul 25 21:46:08 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit ec0a465177f755b2940e443e48d5c5e53a925653
Author: Mingli Yu <Mingli.Yu at windriver.com>
AuthorDate: Mon Jul 23 15:37:42 2018 +0800

    grub2.inc: set GRUBPLATFORM_arm to efi
    
    * grub-efi support on arm is enabled as below
      commit:
      commit 65f9fb788371a9a08e3b0e6febecb9cc2aaeefe7
      Author: Kristian Amlie <kristian.amlie at 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
    
    Signed-off-by: Mingli Yu <Mingli.Yu at windriver.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-bsp/grub/grub2.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc
index 230c585..325eca2 100644
--- a/meta/recipes-bsp/grub/grub2.inc
+++ b/meta/recipes-bsp/grub/grub2.inc
@@ -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"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list