summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel-arch.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/kernel-arch.bbclass')
-rw-r--r--meta/classes/kernel-arch.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass
index 6446504845..b3b78b6278 100644
--- a/meta/classes/kernel-arch.bbclass
+++ b/meta/classes/kernel-arch.bbclass
@@ -8,7 +8,7 @@ valid_archs = "alpha cris ia64 \
8 i386 x86 \ 8 i386 x86 \
9 m68knommu m68k ppc powerpc powerpc64 ppc64 \ 9 m68knommu m68k ppc powerpc powerpc64 ppc64 \
10 sparc sparc64 \ 10 sparc sparc64 \
11 arm \ 11 arm aarch64 \
12 m32r mips \ 12 m32r mips \
13 sh sh64 um h8300 \ 13 sh sh64 um h8300 \
14 parisc s390 v850 \ 14 parisc s390 v850 \
@@ -22,6 +22,7 @@ def map_kernel_arch(a, d):
22 22
23 if re.match('(i.86|athlon|x86.64)$', a): return 'x86' 23 if re.match('(i.86|athlon|x86.64)$', a): return 'x86'
24 elif re.match('armeb$', a): return 'arm' 24 elif re.match('armeb$', a): return 'arm'
25 elif re.match('aarch64$', a): return 'arm64'
25 elif re.match('mips(el|64|64el)$', a): return 'mips' 26 elif re.match('mips(el|64|64el)$', a): return 'mips'
26 elif re.match('p(pc|owerpc)(|64)', a): return 'powerpc' 27 elif re.match('p(pc|owerpc)(|64)', a): return 'powerpc'
27 elif re.match('sh(3|4)$', a): return 'sh' 28 elif re.match('sh(3|4)$', a): return 'sh'