From 80798d3ff31d8ea4edeed5300a534047bb5e3c7d Mon Sep 17 00:00:00 2001 From: Andrei Gherzan <andrei.gherzan@huawei.com> Date: Wed, 10 Aug 2022 01:22:03 +0200 Subject: [PATCH] grub-efi: Add support for qemuarm-efi oe-core avoids armv7ve builds. This is more of a blanket fix because grub supports this arch. It doesn't support hardfp configuration that can't be forced into softfp with a compiler flag. qemuarm-efi defaults to softfp. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Luca Seritan <luca.seritan@huawei.com> --- meta-oniro-core/recipes-bsp/grub/grub-efi_%.bbappend | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta-oniro-core/recipes-bsp/grub/grub-efi_%.bbappend b/meta-oniro-core/recipes-bsp/grub/grub-efi_%.bbappend index c6df2a20..24bb7f75 100644 --- a/meta-oniro-core/recipes-bsp/grub/grub-efi_%.bbappend +++ b/meta-oniro-core/recipes-bsp/grub/grub-efi_%.bbappend @@ -16,3 +16,8 @@ TARGET_CFLAGS:remove = "-Werror=array-bounds" # echo and halt modules, so that the GRUB boot script can print diagnostic # messages or shut down on error. GRUB_BUILDIN:append = " squash4 halt echo" + +# TODO oe-core avoids armv7ve builds. This is more of a blanket fix because +# grub supports this arch. It doesn't support hardfp configuration that can't +# be forced into softfp with a compiler flag. qemuarm-efi defaults to softfp. +COMPATIBLE_HOST:qemuarm-efi = 'arm.*-(linux.*|freebsd.*)' -- GitLab