mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +02:00
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
This commit is contained in:
@@ -260,7 +260,8 @@ python package_do_split_gconvs () {
|
||||
i18npath = base_path_join(treedir, datadir, "i18n")
|
||||
|
||||
localedef_opts = "--force --old-style --no-archive --prefix=%s --inputfile=%s/i18n/locales/%s --charmap=%s %s" % (treedir, datadir, locale, encoding, name)
|
||||
cmd = "PATH=\"%s\" I18NPATH=\"%s\" %s -L %s %s/bin/localedef %s" % (path, i18npath, qemu, treedir, treedir, localedef_opts)
|
||||
qemu_options = bb.data.getVar('QEMU_OPTIONS', d, 1)
|
||||
cmd = "PATH=\"%s\" I18NPATH=\"%s\" %s -L %s %s %s/bin/localedef %s" % (path, i18npath, qemu, treedir, qemu_options, treedir, localedef_opts)
|
||||
bb.note("generating locale %s (%s)" % (locale, encoding))
|
||||
if os.system(cmd):
|
||||
raise bb.build.FuncFailed("localedef returned an error (command was %s)." % cmd)
|
||||
|
||||
Reference in New Issue
Block a user