Patchwork [2/4] kernel-arch: microblaze little endian fix kernel arch

login
register
mail settings
Submitter Adrian Alonso
Date July 5, 2011, 7:38 p.m.
Message ID <1309894692-15230-2-git-send-email-aalonso@secretlab.ca>
Download mbox | patch
Permalink /patch/7011/
State New, archived
Headers show

Comments

Adrian Alonso - July 5, 2011, 7:38 p.m.
* In map_kernel_arch function return valid arch for
  microblazeel target arch.
  if TARGET_ARCH = "microblazeel" return "microblaze"

Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
---
 meta/classes/kernel-arch.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

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)