From 67ec87e37d66fc287158e500d7f8465a0dd5d8c6 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 9 Sep 2020 18:47:36 -0700 Subject: [PATCH] libucontext: Recognise riscv32 architecture Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-core/musl/libucontext_git.bb | 1 + 1 file changed, 1 insertion(+) 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 -- 2.40.1