[2/3] libucontext: Recognise riscv32 architecture

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

Details

Message ID 20200910014737.779020-2-raj.khem@gmail.com
State Accepted
Commit 67ec87e37d66fc287158e500d7f8465a0dd5d8c6
Headers show

Commit Message

Khem Raj Sept. 10, 2020, 1:47 a.m.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-core/musl/libucontext_git.bb | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-core/musl/libucontext_git.bb b/meta/recipes-core/musl/libucontext_git.bb
index ec988f1920..734ad9c953 100644
--- a/meta/recipes-core/musl/libucontext_git.bb
+++ b/meta/recipes-core/musl/libucontext_git.bb
@@ -43,6 +43,7 @@  def map_kernel_arch(a, d):
     elif re.match('p(pc|owerpc)', a):               return 'ppc'
     elif re.match('p(pc64|owerpc64)', a):           return 'ppc64'
     elif re.match('riscv64$', a):                   return 'riscv64'
+    elif re.match('riscv32$', a):                   return 'riscv32'
     else:
         if not d.getVar("TARGET_OS").startswith("linux"):
             return a