summaryrefslogtreecommitdiff
path: root/meta/classes/kernel-arch.bbclass
diff options
context:
space:
mode:
authorAdrian Alonso <aalonso@secretlab.ca>2011-07-05 14:38:10 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-07 13:40:28 +0100
commit86e36055dc61279c9c3616ad4bc47695f83bad06 (patch)
tree428bfd4f3ff6ba84268f3891058d78e70d7fec79 /meta/classes/kernel-arch.bbclass
parentcad05692666fd5355d63718cd9442bcf9abc2a20 (diff)
downloadopenembedded-core-86e36055dc61279c9c3616ad4bc47695f83bad06.tar.gz
openembedded-core-86e36055dc61279c9c3616ad4bc47695f83bad06.tar.bz2
openembedded-core-86e36055dc61279c9c3616ad4bc47695f83bad06.zip
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@secretlab.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel-arch.bbclass')
-rw-r--r--meta/classes/kernel-arch.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass
index 692d4fbd3f..86c15d3880 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)