summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-09-09 18:47:36 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-12 14:49:00 +0100
commitbfa843d01bfd29466c1efcea2282f359a17a2d54 (patch)
tree012134303073895394dd59877cb35e9a3b4e50b1 /meta
parent071b1fa5180b2cead82ba622c2c705166d766bf5 (diff)
downloadpoky-bfa843d01bfd29466c1efcea2282f359a17a2d54.tar.gz
libucontext: Recognise riscv32 architecture
(From OE-Core rev: 67ec87e37d66fc287158e500d7f8465a0dd5d8c6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/musl/libucontext_git.bb1
1 files changed, 1 insertions, 0 deletions
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):
43 elif re.match('p(pc|owerpc)', a): return 'ppc' 43 elif re.match('p(pc|owerpc)', a): return 'ppc'
44 elif re.match('p(pc64|owerpc64)', a): return 'ppc64' 44 elif re.match('p(pc64|owerpc64)', a): return 'ppc64'
45 elif re.match('riscv64$', a): return 'riscv64' 45 elif re.match('riscv64$', a): return 'riscv64'
46 elif re.match('riscv32$', a): return 'riscv32'
46 else: 47 else:
47 if not d.getVar("TARGET_OS").startswith("linux"): 48 if not d.getVar("TARGET_OS").startswith("linux"):
48 return a 49 return a