summaryrefslogtreecommitdiff
path: root/meta/classes/kernel-arch.bbclass
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2010-06-18 01:08:12 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2010-07-19 11:59:51 -0400
commitae6c323a0bf8648fa308128d19d78e601e833a0d (patch)
tree4fd8e6663d0e721073cfb2d96a7ed53afc5c0121 /meta/classes/kernel-arch.bbclass
parent9ee1fbb72042e874b57c64949ebffbd696427b22 (diff)
downloadopenembedded-core-ae6c323a0bf8648fa308128d19d78e601e833a0d.tar.gz
openembedded-core-ae6c323a0bf8648fa308128d19d78e601e833a0d.tar.bz2
openembedded-core-ae6c323a0bf8648fa308128d19d78e601e833a0d.zip
qemu: update kernel mapping to return x86 for i586 TARGET_ARCH
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta/classes/kernel-arch.bbclass')
-rw-r--r--meta/classes/kernel-arch.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass
index 8894fa554c..cf50356da9 100644
--- a/meta/classes/kernel-arch.bbclass
+++ b/meta/classes/kernel-arch.bbclass
@@ -19,7 +19,7 @@ def map_kernel_arch(a, d):
valid_archs = bb.data.getVar('valid_archs', d, 1).split()
- if re.match('(i.86|athlon)$', a): return 'i386'
+ if re.match('(i.86|athlon)$', a): return 'x86'
elif re.match('arm26$', a): return 'arm26'
elif re.match('armeb$', a): return 'arm'
elif re.match('mipsel$', a): return 'mips'