diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-11-02 12:02:53 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-05 11:28:33 +0000 |
commit | 27cbbd52916f2f6573f0e923d29e0ed468594e78 (patch) | |
tree | 99d75cab36b92560ecdb6a06d4fd42c764620764 /meta/recipes-devtools/meson | |
parent | 70e3d851e1acde9ddb856856af3a499472a11376 (diff) | |
download | poky-27cbbd52916f2f6573f0e923d29e0ed468594e78.tar.gz |
meson: Add check for riscv64 in link template
(From OE-Core rev: a7b5c1fa1305759725540809838027ad21825b4f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/meson')
-rw-r--r-- | meta/recipes-devtools/meson/meson_1.2.2.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/meson/meson_1.2.2.bb b/meta/recipes-devtools/meson/meson_1.2.2.bb index 6a07168ee1..c38d88fe61 100644 --- a/meta/recipes-devtools/meson/meson_1.2.2.bb +++ b/meta/recipes-devtools/meson/meson_1.2.2.bb | |||
@@ -66,6 +66,8 @@ def generate_native_link_template(d): | |||
66 | loader = 'ld64.so.2' | 66 | loader = 'ld64.so.2' |
67 | elif 'loongarch64' in build_arch: | 67 | elif 'loongarch64' in build_arch: |
68 | loader = 'ld-linux-loongarch-lp64d.so.1' | 68 | loader = 'ld-linux-loongarch-lp64d.so.1' |
69 | elif 'riscv64' in build_arch: | ||
70 | loader = 'ld-linux-riscv64-lp64d.so.1' | ||
69 | 71 | ||
70 | if loader: | 72 | if loader: |
71 | val += ['-Wl,--dynamic-linker=@{OECORE_NATIVE_SYSROOT}${base_libdir_native}/' + loader] | 73 | val += ['-Wl,--dynamic-linker=@{OECORE_NATIVE_SYSROOT}${base_libdir_native}/' + loader] |