diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2023-06-06 01:15:25 +0300 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-06-30 04:07:59 -1000 |
commit | 74d46587e477cf5385132eeff6f2bd36b39c4090 (patch) | |
tree | e9a855deb1754844c74e10f8486836d95b5fdd3c | |
parent | e928604680f66966a2d9fc594d3e9f50f26b1723 (diff) | |
download | poky-74d46587e477cf5385132eeff6f2bd36b39c4090.tar.gz |
openssl: fix building on riscv32
On riscv32 configurations OpenSSL fails to build with "undefined
reference to `__atomic_foo'" kind of errors. Change OpenSSL recipe to
use linux-latomic configuration instead of linux-generic32.
(From OE-Core rev: 1add2c6c2a5009d6a73790e1334e7e113ac97f4d)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e8ce80fc6d6579554bca2eba057e65d4b12c0793)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl_3.1.1.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl_3.1.1.bb b/meta/recipes-connectivity/openssl/openssl_3.1.1.bb index dca6f18e74..f5f3f32a97 100644 --- a/meta/recipes-connectivity/openssl/openssl_3.1.1.bb +++ b/meta/recipes-connectivity/openssl/openssl_3.1.1.bb | |||
@@ -118,7 +118,7 @@ do_configure () { | |||
118 | target=linux-ppc64le | 118 | target=linux-ppc64le |
119 | ;; | 119 | ;; |
120 | linux-riscv32) | 120 | linux-riscv32) |
121 | target=linux-generic32 | 121 | target=linux-latomic |
122 | ;; | 122 | ;; |
123 | linux-riscv64) | 123 | linux-riscv64) |
124 | target=linux-generic64 | 124 | target=linux-generic64 |