@@ -14,7 +14,7 @@ valid_archs = "alpha cris ia64 \
parisc s390 v850 \
avr32 blackfin \
microblaze \
- nios2 arc xtensa"
+ nios2 arc riscv xtensa"
def map_kernel_arch(a, d):
import re
@@ -26,6 +26,7 @@ def map_kernel_arch(a, d):
elif re.match('aarch64$', a): return 'arm64'
elif re.match('aarch64_be$', a): return 'arm64'
elif re.match('mips(isa|)(32|64|)(r6|)(el|)$', a): return 'mips'
+ elif re.match('riscv(32|64|)(eb|)$', a): return 'riscv'
elif re.match('p(pc|owerpc)(|64)', a): return 'powerpc'
elif re.match('sh(3|4)$', a): return 'sh'
elif re.match('bfin', a): return 'blackfin'
Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta/classes/kernel-arch.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.14.2 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core