diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/linuxloader.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/linuxloader.bbclass b/meta/classes/linuxloader.bbclass index b4c413494a..c0fbf26836 100644 --- a/meta/classes/linuxloader.bbclass +++ b/meta/classes/linuxloader.bbclass | |||
@@ -19,6 +19,8 @@ def get_musl_loader(d): | |||
19 | dynamic_loader = "${base_libdir}/ld-musl-arm${ARMPKGSFX_ENDIAN}${ARMPKGSFX_EABI}.so.1" | 19 | dynamic_loader = "${base_libdir}/ld-musl-arm${ARMPKGSFX_ENDIAN}${ARMPKGSFX_EABI}.so.1" |
20 | elif targetarch.startswith("aarch64"): | 20 | elif targetarch.startswith("aarch64"): |
21 | dynamic_loader = "${base_libdir}/ld-musl-aarch64${ARMPKGSFX_ENDIAN_64}.so.1" | 21 | dynamic_loader = "${base_libdir}/ld-musl-aarch64${ARMPKGSFX_ENDIAN_64}.so.1" |
22 | elif targetarch.startswith("riscv64"): | ||
23 | dynamic_loader = "${base_libdir}/ld-musl-riscv64${@['', '-sf'][d.getVar('TARGET_FPU') == 'soft']}.so.1" | ||
22 | return dynamic_loader | 24 | return dynamic_loader |
23 | 25 | ||
24 | def get_glibc_loader(d): | 26 | def get_glibc_loader(d): |
@@ -42,6 +44,8 @@ def get_glibc_loader(d): | |||
42 | dynamic_loader = "${base_libdir}/ld-linux.so.3" | 44 | dynamic_loader = "${base_libdir}/ld-linux.so.3" |
43 | elif targetarch.startswith("aarch64"): | 45 | elif targetarch.startswith("aarch64"): |
44 | dynamic_loader = "${base_libdir}/ld-linux-aarch64${ARMPKGSFX_ENDIAN_64}.so.1" | 46 | dynamic_loader = "${base_libdir}/ld-linux-aarch64${ARMPKGSFX_ENDIAN_64}.so.1" |
47 | elif targetarch.startswith("riscv64"): | ||
48 | dynamic_loader = "${base_libdir}/ld-linux-riscv64-lp64${@['d', ''][d.getVar('TARGET_FPU') == 'soft']}.so.1" | ||
45 | return dynamic_loader | 49 | return dynamic_loader |
46 | 50 | ||
47 | def get_linuxloader(d): | 51 | def get_linuxloader(d): |