From: Benjamin Bara <[email protected]>

Disable neon if the machine does not support it. --enable-fat also
includes the neon assembler code, therefore also disable it.

Signed-off-by: Benjamin Bara <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
(cherry picked from commit 768c6bb46e1cc4a1d8c12c6f30408bb821ec4534)
Signed-off-by: Steve Sakoman <[email protected]>
---
 meta/recipes-support/nettle/nettle_3.8.1.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-support/nettle/nettle_3.8.1.bb 
b/meta/recipes-support/nettle/nettle_3.8.1.bb
index bf49132235..8569b2f95a 100644
--- a/meta/recipes-support/nettle/nettle_3.8.1.bb
+++ b/meta/recipes-support/nettle/nettle_3.8.1.bb
@@ -34,6 +34,9 @@ EXTRA_AUTORECONF += "--exclude=aclocal"
 
 EXTRA_OECONF = "--disable-openssl"
 
+EXTRA_OECONF:append:armv7a = "${@bb.utils.contains("TUNE_FEATURES","neon",""," 
--disable-arm-neon --disable-fat",d)}"
+EXTRA_OECONF:append:armv7ve = 
"${@bb.utils.contains("TUNE_FEATURES","neon",""," --disable-arm-neon 
--disable-fat",d)}"
+
 do_compile_ptest() {
         oe_runmake buildtest
 }
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188817): 
https://lists.openembedded.org/g/openembedded-core/message/188817
Mute This Topic: https://lists.openembedded.org/mt/101824866/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to