From bfa843d01bfd29466c1efcea2282f359a17a2d54 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 9 Sep 2020 18:47:36 -0700 Subject: libucontext: Recognise riscv32 architecture (From OE-Core rev: 67ec87e37d66fc287158e500d7f8465a0dd5d8c6) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-core/musl/libucontext_git.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-core') 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 -- cgit v1.2.3-54-g00ecf