summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/nettle/nettle_3.9.1.bb
diff options
context:
space:
mode:
authorBenjamin Bara <benjamin.bara@skidata.com>2023-09-04 10:48:27 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-04 20:14:14 +0100
commitb295f256b445ce36076e68b2d6d65a85dafedc79 (patch)
treecb87794e04b1f3073d6d6dd1a59e8746bd7e2c55 /meta/recipes-support/nettle/nettle_3.9.1.bb
parent1862468784a35ebbc5f1220803ca57074fb699d6 (diff)
downloadpoky-b295f256b445ce36076e68b2d6d65a85dafedc79.tar.gz
nettle: avoid neon on unsupported machines
Disable neon if the machine does not support it. --enable-fat also includes the neon assembler code, therefore also disable it. (From OE-Core rev: 768c6bb46e1cc4a1d8c12c6f30408bb821ec4534) Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/nettle/nettle_3.9.1.bb')
-rw-r--r--meta/recipes-support/nettle/nettle_3.9.1.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-support/nettle/nettle_3.9.1.bb b/meta/recipes-support/nettle/nettle_3.9.1.bb
index 6bb76a6217..396708cf87 100644
--- a/meta/recipes-support/nettle/nettle_3.9.1.bb
+++ b/meta/recipes-support/nettle/nettle_3.9.1.bb
@@ -30,6 +30,9 @@ EXTRA_AUTORECONF += "--exclude=aclocal"
30 30
31EXTRA_OECONF = "--disable-openssl" 31EXTRA_OECONF = "--disable-openssl"
32 32
33EXTRA_OECONF:append:armv7a = "${@bb.utils.contains("TUNE_FEATURES","neon",""," --disable-arm-neon --disable-fat",d)}"
34EXTRA_OECONF:append:armv7ve = "${@bb.utils.contains("TUNE_FEATURES","neon",""," --disable-arm-neon --disable-fat",d)}"
35
33do_compile_ptest() { 36do_compile_ptest() {
34 oe_runmake buildtest 37 oe_runmake buildtest
35} 38}