[oe-commits] Adrian Alonso : kernel-arch: microblaze little endian fix kernel arch

git version control git at git.openembedded.org
Thu Jul 7 12:47:48 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 86e36055dc61279c9c3616ad4bc47695f83bad06
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=86e36055dc61279c9c3616ad4bc47695f83bad06

Author: Adrian Alonso <aalonso at secretlab.ca>
Date:   Tue Jul  5 14:38:10 2011 -0500

kernel-arch: microblaze little endian fix kernel arch

* In map_kernel_arch function return valid arch for
  microblazeel target arch.
  if TARGET_ARCH = "microblazeel" return "microblaze"

Signed-off-by: Adrian Alonso <aalonso at secretlab.ca>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/kernel-arch.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass
index 692d4fb..86c15d3 100644
--- a/meta/classes/kernel-arch.bbclass
+++ b/meta/classes/kernel-arch.bbclass
@@ -26,6 +26,7 @@ def map_kernel_arch(a, d):
 	elif re.match('mipsel$', a):		        return 'mips'
 	elif re.match('sh(3|4)$', a):		        return 'sh'
 	elif re.match('bfin', a):                       return 'blackfin'
+	elif re.match('microblazeel', 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