summaryrefslogtreecommitdiff
path: root/meta/conf
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-12-04 16:23:28 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-12-04 16:23:28 +0000
commitde38769a25eac9370ac352e52b61e3061e44801c (patch)
tree5cc00a78d50cb6e4370ecddb083eb10edc87b396 /meta/conf
parentd0b4968cd24a0152e88396d40310cdbae9555a1f (diff)
downloadopenembedded-core-de38769a25eac9370ac352e52b61e3061e44801c.tar.gz
openembedded-core-de38769a25eac9370ac352e52b61e3061e44801c.tar.bz2
openembedded-core-de38769a25eac9370ac352e52b61e3061e44801c.tar.xz
openembedded-core-de38769a25eac9370ac352e52b61e3061e44801c.zip
glibc: make ARMv6 binary locales working with recent qemu
Qemu 20071121 has ARMv6 support working but generating of binary locales require using proper "-cpu" switch - otherwise it sigsegv with illegal instruction. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3306 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/bitbake.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 342c174e7..c882c54d9 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -90,6 +90,13 @@ PACKAGE_ARCH = "${HOST_ARCH}"
MACHINE_ARCH = "${@[bb.data.getVar('HOST_ARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))]}"
PACKAGE_ARCHS = "all any noarch ${TARGET_ARCH} ${PACKAGE_EXTRA_ARCHS} ${MACHINE}"
+# select proper CPU to get binary locales generated
+QEMU_OPTIONS = ""
+QEMU_OPTIONS_iwmmxt = "-cpu pxa270-c5"
+QEMU_OPTIONS_armv4t = "-cpu arm920t"
+QEMU_OPTIONS_armv5te = "-cpu arm926"
+QEMU_OPTIONS_armv6 = "-cpu arm1136"
+
##################################################################
# Date/time variables.
##################################################################