diff options
author | Adrian Alonso <aalonso@secretlab.ca> | 2011-07-05 14:38:10 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-07 13:45:30 +0100 |
commit | b358424bb0c84d071d1db6bb035e9e8fea2aab6a (patch) | |
tree | 79476aa8b8550656b6febcb94b74b493f3b0b4ac /meta/classes/kernel-arch.bbclass | |
parent | e81bbc05042be7d8c049c325531e73fb4bef68ae (diff) | |
download | poky-b358424bb0c84d071d1db6bb035e9e8fea2aab6a.tar.gz |
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>
Diffstat (limited to 'meta/classes/kernel-arch.bbclass')
-rw-r--r-- | 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 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): | |||
26 | elif re.match('mipsel$', a): return 'mips' | 26 | elif re.match('mipsel$', a): return 'mips' |
27 | elif re.match('sh(3|4)$', a): return 'sh' | 27 | elif re.match('sh(3|4)$', a): return 'sh' |
28 | elif re.match('bfin', a): return 'blackfin' | 28 | elif re.match('bfin', a): return 'blackfin' |
29 | elif re.match('microblazeel', a): return 'microblaze' | ||
29 | elif a in valid_archs: return a | 30 | elif a in valid_archs: return a |
30 | else: | 31 | else: |
31 | bb.error("cannot map '%s' to a linux kernel architecture" % a) | 32 | bb.error("cannot map '%s' to a linux kernel architecture" % a) |