diff --git a/meta-oniro-core/recipes-bsp/grub/grub-efi_%.bbappend b/meta-oniro-core/recipes-bsp/grub/grub-efi_%.bbappend index c6df2a2093f8965daa4e9cf99219b8140b027dab..24bb7f757c51497d193167aeee4d7fddf2aba219 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.*)'