[3/3] linuxloader.bbclass: Define riscv32 ldso for musl

Submitted by Khem Raj on Sept. 10, 2020, 1:47 a.m. | Patch ID: 176225

Details

Message ID 20200910014737.779020-3-raj.khem@gmail.com
State Accepted
Commit c178a5609b2f3cca52532a8b6d6a5927cad386db
Headers show

Commit Message

Khem Raj Sept. 10, 2020, 1:47 a.m.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/classes/linuxloader.bbclass | 2 ++
 1 file changed, 2 insertions(+)

Patch hide | download patch | download mbox

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):
         ldso_arch = "aarch64${ARMPKGSFX_ENDIAN_64}"
     elif targetarch.startswith("riscv64"):
         ldso_arch = "riscv64${@['', '-sf'][d.getVar('TARGET_FPU') == 'soft']}"
+    elif targetarch.startswith("riscv32"):
+        ldso_arch = "riscv32${@['', '-sf'][d.getVar('TARGET_FPU') == 'soft']}"
     return ldso_arch
 
 def get_musl_loader(d):