summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-09-09 18:47:37 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-12 14:49:00 +0100
commit17bac2333e532cf74e7c1680a8d854fd5e3196ff (patch)
treef2eb6d597f54b742ca943ff934c1f620ce6fc290
parentbfa843d01bfd29466c1efcea2282f359a17a2d54 (diff)
downloadpoky-17bac2333e532cf74e7c1680a8d854fd5e3196ff.tar.gz
linuxloader.bbclass: Define riscv32 ldso for musl
(From OE-Core rev: c178a5609b2f3cca52532a8b6d6a5927cad386db) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/linuxloader.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/linuxloader.bbclass b/meta/classes/linuxloader.bbclass
index ec0e0556dd..176fd89fdb 100644
--- a/meta/classes/linuxloader.bbclass
+++ b/meta/classes/linuxloader.bbclass
@@ -21,6 +21,8 @@ def get_musl_loader_arch(d):
21 ldso_arch = "aarch64${ARMPKGSFX_ENDIAN_64}" 21 ldso_arch = "aarch64${ARMPKGSFX_ENDIAN_64}"
22 elif targetarch.startswith("riscv64"): 22 elif targetarch.startswith("riscv64"):
23 ldso_arch = "riscv64${@['', '-sf'][d.getVar('TARGET_FPU') == 'soft']}" 23 ldso_arch = "riscv64${@['', '-sf'][d.getVar('TARGET_FPU') == 'soft']}"
24 elif targetarch.startswith("riscv32"):
25 ldso_arch = "riscv32${@['', '-sf'][d.getVar('TARGET_FPU') == 'soft']}"
24 return ldso_arch 26 return ldso_arch
25 27
26def get_musl_loader(d): 28def get_musl_loader(d):