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.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass
index 92a6c982fb..b331d25614 100644
--- a/meta/classes/kernel-arch.bbclass
+++ b/meta/classes/kernel-arch.bbclass
@@ -19,6 +19,7 @@ def map_kernel_arch(a, d):
19 elif re.match('armeb$', a): return 'arm' 19 elif re.match('armeb$', a): return 'arm'
20 elif re.match('powerpc$', a): return 'ppc' 20 elif re.match('powerpc$', a): return 'ppc'
21 elif re.match('mipsel$', a): return 'mips' 21 elif re.match('mipsel$', a): return 'mips'
22 elif re.match('sh(3|4)$', a): return 'sh'
22 elif a in valid_archs: return a 23 elif a in valid_archs: return a
23 else: 24 else:
24 bb.error("cannot map '%s' to a linux kernel architecture" % a) 25 bb.error("cannot map '%s' to a linux kernel architecture" % a)