summaryrefslogtreecommitdiff
path: root/packages/glibc/glibc-package.bbclass
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2008-05-20 12:53:41 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-05-20 12:53:41 +0000
commit6173f7532bb00da9ba3c73be6c51f8de904fc564 (patch)
tree7fb96505a3ccc7842163102ee4a4d57ee02cfb83 /packages/glibc/glibc-package.bbclass
parentf157a01b7146e094dfe09c692c07d20f78b37fce (diff)
glibc: Fix binary locale generation for i586/i686 TARGET_ARCH
Diffstat (limited to 'packages/glibc/glibc-package.bbclass')
-rw-r--r--packages/glibc/glibc-package.bbclass3
1 files changed, 3 insertions, 0 deletions
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)