diff options
author | Benjamin Bara <benjamin.bara@skidata.com> | 2023-09-04 10:48:27 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-04 20:14:14 +0100 |
commit | b295f256b445ce36076e68b2d6d65a85dafedc79 (patch) | |
tree | cb87794e04b1f3073d6d6dd1a59e8746bd7e2c55 /meta | |
parent | 1862468784a35ebbc5f1220803ca57074fb699d6 (diff) | |
download | poky-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')
-rw-r--r-- | meta/recipes-support/nettle/nettle_3.9.1.bb | 3 |
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 | ||
31 | EXTRA_OECONF = "--disable-openssl" | 31 | EXTRA_OECONF = "--disable-openssl" |
32 | 32 | ||
33 | EXTRA_OECONF:append:armv7a = "${@bb.utils.contains("TUNE_FEATURES","neon",""," --disable-arm-neon --disable-fat",d)}" | ||
34 | EXTRA_OECONF:append:armv7ve = "${@bb.utils.contains("TUNE_FEATURES","neon",""," --disable-arm-neon --disable-fat",d)}" | ||
35 | |||
33 | do_compile_ptest() { | 36 | do_compile_ptest() { |
34 | oe_runmake buildtest | 37 | oe_runmake buildtest |
35 | } | 38 | } |