From: cp0613@linux.alibaba.com
To: openembedded-core@lists.openembedded.org
Cc: Chen Pei <cp0613@linux.alibaba.com>
Subject: [meta-oe] [PATCH V3 2/2] meson: set dynamic-linker for riscv64 targets
Date: Tue, 15 Nov 2022 20:24:58 +0800 [thread overview]
Message-ID: <20221115122456.522-2-cp0613@linux.alibaba.com> (raw)
In-Reply-To: <6D11494A-84C4-446D-A736-49841179EC70@arm.com>
From: Chen Pei <cp0613@linux.alibaba.com>
Signed-off-by: Chen Pei <cp0613@linux.alibaba.com>
---
meta/recipes-devtools/meson/meson_0.64.0.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-devtools/meson/meson_0.64.0.bb b/meta/recipes-devtools/meson/meson_0.64.0.bb
index 84c3c84515..c8ef8a23c5 100644
--- a/meta/recipes-devtools/meson/meson_0.64.0.bb
+++ b/meta/recipes-devtools/meson/meson_0.64.0.bb
@@ -67,6 +67,8 @@ def generate_native_link_template(d):
loader = 'ld-linux-aarch64.so.1'
elif 'ppc64le' in build_arch:
loader = 'ld64.so.2'
+ elif 'riscv64' in build_arch:
+ loader = 'ld-linux-riscv64-lp64d.so.1'
if loader:
val += ['-Wl,--dynamic-linker=@{OECORE_NATIVE_SYSROOT}${base_libdir_native}/' + loader]
--
2.25.1
prev parent reply other threads:[~2022-11-15 12:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-12 9:12 [meta-oe] [PATCH 1/2] Support for building on RISCV cp0613
2022-11-12 9:12 ` [meta-oe] [PATCH 2/2] " cp0613
2022-11-12 18:47 ` [OE-core] " Khem Raj
2022-11-15 11:20 ` [OE-core] [meta-oe] [PATCH 1/2] " Ross Burton
2022-11-15 12:03 ` [meta-oe] [PATCH V2 1/2] Support bitbake compilation when the host is a RISCV platform cp0613
2022-11-15 12:11 ` [OE-core] " Alexander Kanavin
2022-11-15 12:15 ` cp0613
2022-11-15 12:03 ` [meta-oe] [PATCH V2 2/2] " cp0613
2022-11-15 12:13 ` [OE-core] " Alexander Kanavin
2022-11-15 12:17 ` cp0613
2022-11-15 12:10 ` [meta-oe] [PATCH 1/2] Support for building on RISCV cp0613
2022-11-15 12:24 ` [meta-oe] [PATCH V3 1/2] machine-sdk: add a risv64 definition cp0613
2022-11-15 12:24 ` cp0613 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221115122456.522-2-cp0613@linux.alibaba.com \
--to=cp0613@linux.alibaba.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox