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>
This commit is contained in:
Nathan Rossi 2015-05-05 14:27:53 +10:00 committed by Richard Purdie
parent 09fa915b56
commit 55c96db259
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ def map_kernel_arch(a, d):
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'
elif re.match('microblazeel', a): return 'microblaze'
elif re.match('microblazee[bl]', a): return 'microblaze'
elif a in valid_archs: return a
else:
bb.error("cannot map '%s' to a linux kernel architecture" % a)