diff options
author | Roman I Khimov <khimov@altell.ru> | 2009-07-01 08:54:13 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> | 2009-07-06 12:11:15 +0200 |
commit | 762c4eb6dd8571c75616bb5f77c0a6bb8f0f7d8b (patch) | |
tree | 7bbd2cda9d720b0e475db519b2b35e1b02b1895b /recipes/eglibc | |
parent | 67e89793d7203845e6ba1098e55f0962c7a5f8fa (diff) | |
download | openembedded-762c4eb6dd8571c75616bb5f77c0a6bb8f0f7d8b.tar.gz |
(e)glibc-package: enable binary locale generation on x86 and x86_64
Works well for this targets, so we can add that to BINARY_LOCALE_ARCHES
whitelist.
Acked-by: Tom Rini <trini@embeddedalley.com>
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Acked-by: Koen Kooi <koen@openembedded.org>
Diffstat (limited to 'recipes/eglibc')
-rw-r--r-- | recipes/eglibc/eglibc-package.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes/eglibc/eglibc-package.bbclass b/recipes/eglibc/eglibc-package.bbclass index 241499f4a8..22ff52b3ff 100644 --- a/recipes/eglibc/eglibc-package.bbclass +++ b/recipes/eglibc/eglibc-package.bbclass @@ -24,7 +24,7 @@ python __anonymous () { ENABLE_BINARY_LOCALE_GENERATION ?= "0" # BINARY_LOCALE_ARCHES is a space separated list of regular expressions -BINARY_LOCALE_ARCHES ?= "arm.*" +BINARY_LOCALE_ARCHES ?= "arm.* i[3-6]86 x86_64" PACKAGES = "eglibc-dbg eglibc catchsegv sln nscd ldd localedef eglibc-utils eglibc-dev eglibc-doc eglibc-locale libsegfault eglibc-extra-nss eglibc-thread-db eglibc-pcprofile" PACKAGES_DYNAMIC = "glibc-gconv-* glibc-charmap-* glibc-localedata-* glibc-binary-localedata-* eglibc-gconv-* eglibc-charmap-* eglibc-localedata-* eglibc-binary-localedata-* locale-base-*" @@ -287,6 +287,8 @@ 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 ("i486", "i586", "i686"): + target_arch = "i386" kernel_ver = bb.data.getVar("OLDEST_KERNEL", d, 1) if kernel_ver is None: qemu = "qemu-%s -s 1048576" % target_arch |