]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
grub: Allow build on armv7ve/a with softfp
authorAndrei Gherzan <andrei.gherzan@huawei.com>
Thu, 15 Sep 2022 12:59:23 +0000 (14:59 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 20 Sep 2022 22:21:57 +0000 (23:21 +0100)
commit75dbdea94057b6977a20fb738c00c226ca694243
tree4b71bd0dc5f503e6efd0d279e61bc6925f98ef7c
parent4a2c4cfaaa5a6d7175c81064939e21bcfe3e736a
grub: Allow build on armv7ve/a with softfp

Grub tries to force the compilation in softfp mode for some known target
CPU. That is because it doesn't use floats or doubles and there are
known limitations of using a configuration with hardfp. There are though
target CPUs that grub won't know how to configure failing with something
similar to:

| checking for options to get soft-float... no
| configure: error: could not force soft-float

This change relaxes a bit the COMPATIBLE_HOST restriction to only apply
for hardfp configuration even for arm7ve/a.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/grub/grub2.inc