diff options
| author | Benjamin Bara <benjamin.bara@skidata.com> | 2023-09-04 10:48:27 +0200 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2023-10-11 03:54:46 -1000 |
| commit | 62630557f62d61bbae9975c9f8059e218581feb7 (patch) | |
| tree | 8b440ae31c4e675c52df556b04ed07678ef78544 /meta | |
| parent | 974832c9cb90e2ae547d4127a607f422963c077c (diff) | |
| download | poky-62630557f62d61bbae9975c9f8059e218581feb7.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: 9a0c8796cc5788a88b3e4fea50de130185b11a18)
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>
(cherry picked from commit 768c6bb46e1cc4a1d8c12c6f30408bb821ec4534)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-support/nettle/nettle_3.8.1.bb | 3 |
1 files changed, 3 insertions, 0 deletions
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" | |||
| 34 | 34 | ||
| 35 | EXTRA_OECONF = "--disable-openssl" | 35 | EXTRA_OECONF = "--disable-openssl" |
| 36 | 36 | ||
| 37 | EXTRA_OECONF:append:armv7a = "${@bb.utils.contains("TUNE_FEATURES","neon",""," --disable-arm-neon --disable-fat",d)}" | ||
| 38 | EXTRA_OECONF:append:armv7ve = "${@bb.utils.contains("TUNE_FEATURES","neon",""," --disable-arm-neon --disable-fat",d)}" | ||
| 39 | |||
| 37 | do_compile_ptest() { | 40 | do_compile_ptest() { |
| 38 | oe_runmake buildtest | 41 | oe_runmake buildtest |
| 39 | } | 42 | } |
