summaryrefslogtreecommitdiffstats
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:45:30 +0100
commitb358424bb0c84d071d1db6bb035e9e8fea2aab6a (patch)
tree79476aa8b8550656b6febcb94b74b493f3b0b4ac
parente81bbc05042be7d8c049c325531e73fb4bef68ae (diff)
downloadpoky-b358424bb0c84d071d1db6bb035e9e8fea2aab6a.tar.gz
poky-b358424bb0c84d071d1db6bb035e9e8fea2aab6a.tar.bz2
poky-b358424bb0c84d071d1db6bb035e9e8fea2aab6a.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" (From OE-Core rev: 86e36055dc61279c9c3616ad4bc47695f83bad06) Signed-off-by: Adrian Alonso <aalonso@secretlab.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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)