[oe-commits] Nathan Rossi : kernel-arch: Update mapping for MicroBlaze architectures
git at git.openembedded.org
git at git.openembedded.org
Tue May 5 21:15:45 UTC 2015
Module: openembedded-core.git
Branch: master
Commit: c2f488f629b3dd604db171772b762d46a28c2895
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c2f488f629b3dd604db171772b762d46a28c2895
Author: Nathan Rossi <nathan.rossi at xilinx.com>
Date: Tue May 5 14:27:53 2015 +1000
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 <nathan.rossi at xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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)
More information about the Openembedded-commits
mailing list