summaryrefslogtreecommitdiffstats
path: root/meta/packages
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/packages
parentd0b4968cd24a0152e88396d40310cdbae9555a1f (diff)
downloadpoky-de38769a25eac9370ac352e52b61e3061e44801c.tar.gz
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/packages')
-rw-r--r--meta/packages/glibc/glibc-package.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/packages/glibc/glibc-package.bbclass b/meta/packages/glibc/glibc-package.bbclass
index bc51d6b1b9..1dc1f9c133 100644
--- a/meta/packages/glibc/glibc-package.bbclass
+++ b/meta/packages/glibc/glibc-package.bbclass
@@ -260,7 +260,8 @@ python package_do_split_gconvs () {
260 i18npath = base_path_join(treedir, datadir, "i18n") 260 i18npath = base_path_join(treedir, datadir, "i18n")
261 261
262 localedef_opts = "--force --old-style --no-archive --prefix=%s --inputfile=%s/i18n/locales/%s --charmap=%s %s" % (treedir, datadir, locale, encoding, name) 262 localedef_opts = "--force --old-style --no-archive --prefix=%s --inputfile=%s/i18n/locales/%s --charmap=%s %s" % (treedir, datadir, locale, encoding, name)
263 cmd = "PATH=\"%s\" I18NPATH=\"%s\" %s -L %s %s/bin/localedef %s" % (path, i18npath, qemu, treedir, treedir, localedef_opts) 263 qemu_options = bb.data.getVar('QEMU_OPTIONS', d, 1)
264 cmd = "PATH=\"%s\" I18NPATH=\"%s\" %s -L %s %s %s/bin/localedef %s" % (path, i18npath, qemu, treedir, qemu_options, treedir, localedef_opts)
264 bb.note("generating locale %s (%s)" % (locale, encoding)) 265 bb.note("generating locale %s (%s)" % (locale, encoding))
265 if os.system(cmd): 266 if os.system(cmd):
266 raise bb.build.FuncFailed("localedef returned an error (command was %s)." % cmd) 267 raise bb.build.FuncFailed("localedef returned an error (command was %s)." % cmd)