summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan.rossi@xilinx.com>2015-05-05 14:27:53 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-05 22:15:17 +0100
commit55c96db25988d1c0f459dd17048b1d1daab635c0 (patch)
tree0a148b7499a211f42a43033a49029020aaba3b3e
parent09fa915b56e4f20d69ab567aef446c34ba7ebdf0 (diff)
downloadpoky-55c96db25988d1c0f459dd17048b1d1daab635c0.tar.gz
kernel-arch: Update mapping for MicroBlaze architectures
* Add pattern matching for the 'microblazeeb' architecture which maps to 'microblaze' in the same way as 'microblazeel' (From OE-Core rev: c2f488f629b3dd604db171772b762d46a28c2895) Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/kernel-arch.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass
index 6a6ad91866..66508708a9 100644
--- a/meta/classes/kernel-arch.bbclass
+++ b/meta/classes/kernel-arch.bbclass
@@ -28,7 +28,7 @@ def map_kernel_arch(a, d):
28 elif re.match('p(pc|owerpc)(|64)', a): return 'powerpc' 28 elif re.match('p(pc|owerpc)(|64)', a): return 'powerpc'
29 elif re.match('sh(3|4)$', a): return 'sh' 29 elif re.match('sh(3|4)$', a): return 'sh'
30 elif re.match('bfin', a): return 'blackfin' 30 elif re.match('bfin', a): return 'blackfin'
31 elif re.match('microblazeel', a): return 'microblaze' 31 elif re.match('microblazee[bl]', a): return 'microblaze'
32 elif a in valid_archs: return a 32 elif a in valid_archs: return a
33 else: 33 else:
34 bb.error("cannot map '%s' to a linux kernel architecture" % a) 34 bb.error("cannot map '%s' to a linux kernel architecture" % a)