diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-06-15 17:05:30 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-06-17 13:42:31 +0100 |
commit | a5517f5021a31dd426dc71ad84b21f325d49978a (patch) | |
tree | 41ad0eff9dab9683e60103ef57d49714ddb871ad | |
parent | ef772235d415760843408add6c91ab06eb60ec8e (diff) | |
download | poky-a5517f5021a31dd426dc71ad84b21f325d49978a.tar.gz |
linuxloader: Be aware of riscv32 ldso
(From OE-Core rev: 0d7aa00663e1e41980afb24d0ada2d76e8723e2b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/linuxloader.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/linuxloader.bbclass b/meta/classes/linuxloader.bbclass index 30925ac87d..1b64be6405 100644 --- a/meta/classes/linuxloader.bbclass +++ b/meta/classes/linuxloader.bbclass | |||
@@ -52,6 +52,8 @@ def get_glibc_loader(d): | |||
52 | dynamic_loader = "${base_libdir}/ld-linux-aarch64${ARMPKGSFX_ENDIAN_64}.so.1" | 52 | dynamic_loader = "${base_libdir}/ld-linux-aarch64${ARMPKGSFX_ENDIAN_64}.so.1" |
53 | elif targetarch.startswith("riscv64"): | 53 | elif targetarch.startswith("riscv64"): |
54 | dynamic_loader = "${base_libdir}/ld-linux-riscv64-lp64${@['d', ''][d.getVar('TARGET_FPU') == 'soft']}.so.1" | 54 | dynamic_loader = "${base_libdir}/ld-linux-riscv64-lp64${@['d', ''][d.getVar('TARGET_FPU') == 'soft']}.so.1" |
55 | elif targetarch.startswith("riscv32"): | ||
56 | dynamic_loader = "${base_libdir}/ld-linux-riscv32-ilp32${@['d', ''][d.getVar('TARGET_FPU') == 'soft']}.so.1" | ||
55 | return dynamic_loader | 57 | return dynamic_loader |
56 | 58 | ||
57 | def get_linuxloader(d): | 59 | def get_linuxloader(d): |