diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-10-05 17:50:43 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-05 13:44:55 +0000 |
commit | ac254fcc57cb044974445d89ce28a412c656e527 (patch) | |
tree | 794659820d08cc6ac936da5d44b9f0a109627b1e | |
parent | 603bcb3e2bb4e9f641a935aaccd56a393379bad9 (diff) | |
download | openembedded-core-ac254fcc57cb044974445d89ce28a412c656e527.tar.gz openembedded-core-ac254fcc57cb044974445d89ce28a412c656e527.tar.bz2 openembedded-core-ac254fcc57cb044974445d89ce28a412c656e527.zip |
kernel-arch.bbclass: Add riscv to kernel arch map
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r-- | meta/classes/kernel-arch.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass index d036fcf20c..cf0edb6173 100644 --- a/meta/classes/kernel-arch.bbclass +++ b/meta/classes/kernel-arch.bbclass @@ -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' |