From: Benjamin Bara <[email protected]>

Disable neon if the machine does not support 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 9ea1a98bcfe30a46898765e41e0fc9ebb0086738)
Signed-off-by: Steve Sakoman <[email protected]>
---
 meta/recipes-graphics/xorg-lib/pixman_0.42.2.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-graphics/xorg-lib/pixman_0.42.2.bb 
b/meta/recipes-graphics/xorg-lib/pixman_0.42.2.bb
index a580d73185..98df6dab21 100644
--- a/meta/recipes-graphics/xorg-lib/pixman_0.42.2.bb
+++ b/meta/recipes-graphics/xorg-lib/pixman_0.42.2.bb
@@ -37,4 +37,7 @@ EXTRA_OEMESON:append:class-target:powerpc = " 
${@bb.utils.contains("TUNE_FEATURE
 EXTRA_OEMESON:append:class-target:powerpc64 = " 
${@bb.utils.contains("TUNE_FEATURES", "altivec", "-Dvmx=enabled", 
"-Dvmx=disabled", d)}"
 EXTRA_OEMESON:append:class-target:powerpc64le = " 
${@bb.utils.contains("TUNE_FEATURES", "altivec", "-Dvmx=enabled", 
"-Dvmx=disabled", d)}"
 
+EXTRA_OEMESON:append:armv7a = 
"${@bb.utils.contains("TUNE_FEATURES","neon",""," -Dneon=disabled",d)}"
+EXTRA_OEMESON:append:armv7ve = 
"${@bb.utils.contains("TUNE_FEATURES","neon",""," -Dneon=disabled",d)}"
+
 BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1

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

Reply via email to