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.bbclass4
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass
index d8b180ec49..3ed5986a52 100644
--- a/meta/classes/kernel-arch.bbclass
+++ b/meta/classes/kernel-arch.bbclass
@@ -21,9 +21,7 @@ def map_kernel_arch(a, d):
21 21
22 valid_archs = d.getVar('valid_archs', True).split() 22 valid_archs = d.getVar('valid_archs', True).split()
23 23
24 if re.match('i.86$', a): return 'i386' 24 if re.match('(i.86|athlon|x86.64)$', a): return 'x86'
25 elif re.match('x86.64$', a): return 'x86_64'
26 elif re.match('athlon$', a): return 'x86'
27 elif re.match('armeb$', a): return 'arm' 25 elif re.match('armeb$', a): return 'arm'
28 elif re.match('aarch64$', a): return 'arm64' 26 elif re.match('aarch64$', a): return 'arm64'
29 elif re.match('aarch64_be$', a): return 'arm64' 27 elif re.match('aarch64_be$', a): return 'arm64'