From: Nathan Rossi Date: Tue, 5 May 2015 04:27:53 +0000 (+1000) Subject: kernel-arch: Update mapping for MicroBlaze architectures X-Git-Tag: 2015-10~1947 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=c2f488f629b3dd604db171772b762d46a28c2895;p=openembedded-core.git kernel-arch: Update mapping for MicroBlaze architectures * Add pattern matching for the 'microblazeeb' architecture which maps to 'microblaze' in the same way as 'microblazeel' Signed-off-by: Nathan Rossi Signed-off-by: Richard Purdie --- 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): 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)