[OE-core] [PATCH 1/4] kernel-arch: Update mapping for MicroBlaze architectures

Nathan Rossi nathan.rossi at xilinx.com
Tue May 5 04:27:53 UTC 2015


* Add pattern matching for the 'microblazeeb' architecture which maps to
  'microblaze' in the same way as 'microblazeel'

Signed-off-by: Nathan Rossi <nathan.rossi at xilinx.com>
---
 meta/classes/kernel-arch.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass
index 6a6ad91..6650870 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)
-- 
1.7.10.4




More information about the Openembedded-core mailing list