diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-08-13 22:19:17 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-14 17:33:49 +0100 |
commit | c47b8300be4332fbcaae44a8ab76b88633e45ea0 (patch) | |
tree | c73d8a1efff79e9752d15d1adb02b3bda6f47360 | |
parent | 9e2c3395fec2237b52d8cf8e8ab523add43f6b74 (diff) | |
download | poky-c47b8300be4332fbcaae44a8ab76b88633e45ea0.tar.gz |
linuxloader: Add entries for riscv64
(From OE-Core rev: 1cd6ffcabea2036fde6493f75687e546c6fe003c)
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 | 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): |