From: Nathan Rossi Date: Tue, 5 May 2015 04:27:53 +0000 (+1000) Subject: kernel-arch: Update mapping for MicroBlaze architectures X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55c96db25988d1c0f459dd17048b1d1daab635c0;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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' (From OE-Core rev: c2f488f629b3dd604db171772b762d46a28c2895) 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 6a6ad918669..66508708a99 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)