From 6173f7532bb00da9ba3c73be6c51f8de904fc564 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Tue, 20 May 2008 12:53:41 +0000 Subject: glibc: Fix binary locale generation for i586/i686 TARGET_ARCH --- packages/glibc/glibc-package.bbclass | 3 +++ 1 file changed, 3 insertions(+) (limited to 'packages/glibc/glibc-package.bbclass') diff --git a/packages/glibc/glibc-package.bbclass b/packages/glibc/glibc-package.bbclass index b9ca75e870..43a64d8af1 100644 --- a/packages/glibc/glibc-package.bbclass +++ b/packages/glibc/glibc-package.bbclass @@ -247,6 +247,9 @@ python package_do_split_gconvs () { def output_locale_binary(name, locale, encoding): target_arch = bb.data.getVar("TARGET_ARCH", d, 1) + if target_arch in ("i586", "i686"): + target_arch = "i386" + qemu = "qemu-%s -r 2.6.16" % target_arch pkgname = 'locale-base-' + legitimize_package_name(name) m = re.match("(.*)\.(.*)", name) -- cgit v1.2.3