Some older arm32 cores are without neon units e.g. armv6 (rpi0 fame)
therefore check for neon feature before enabling it

Signed-off-by: Khem Raj <[email protected]>
Cc: Andreas Müller <[email protected]>
---
 meta-multimedia/recipes-multimedia/aom/aom_2.0.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-multimedia/recipes-multimedia/aom/aom_2.0.0.bb 
b/meta-multimedia/recipes-multimedia/aom/aom_2.0.0.bb
index c5ad1f8062..41ade08791 100644
--- a/meta-multimedia/recipes-multimedia/aom/aom_2.0.0.bb
+++ b/meta-multimedia/recipes-multimedia/aom/aom_2.0.0.bb
@@ -18,3 +18,5 @@ DEPENDS = " yasm-native"
 EXTRA_OECMAKE = " -DBUILD_SHARED_LIBS=1 -DENABLE_TESTS=0 \
                   -DPERL_EXECUTABLE=${HOSTTOOLS_DIR}/perl \
                 "
+
+EXTRA_OECMAKE += 
"${@bb.utils.contains("TUNE_FEATURES","neon","-DENABLE_NEON=ON","-DENABLE_NEON=OFF",d)}"
-- 
2.30.1

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

Reply via email to