summaryrefslogtreecommitdiff
path: root/recipes/eglibc/eglibc-package.bbclass
diff options
context:
space:
mode:
authorRoman Khimov <khimov@altell.ru>2009-05-19 23:04:38 +0000
committerTom Rini <trini@embeddedalley.com>2009-05-30 17:54:58 -0400
commitfaffb4e89389f47b6d953f36e0584ce50bc73de2 (patch)
tree9994991fad74416cb23801f3b47f228fc1b74704 /recipes/eglibc/eglibc-package.bbclass
parent47f74ab0bc9fc498e3565c5d780f40b001c6dcbc (diff)
(e)glibc-package: enable binary locale generation for powerpc
It works there, so add to whitelist.
Diffstat (limited to 'recipes/eglibc/eglibc-package.bbclass')
-rw-r--r--recipes/eglibc/eglibc-package.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes/eglibc/eglibc-package.bbclass b/recipes/eglibc/eglibc-package.bbclass
index 22ff52b3ff..f2acc961fa 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.* i[3-6]86 x86_64"
+BINARY_LOCALE_ARCHES ?= "arm.* i[3-6]86 x86_64 powerpc"
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-*"
@@ -289,6 +289,8 @@ python package_do_split_gconvs () {
target_arch = bb.data.getVar("TARGET_ARCH", d, 1)
if target_arch in ("i486", "i586", "i686"):
target_arch = "i386"
+ elif target_arch == "powerpc":
+ target_arch = "ppc"
kernel_ver = bb.data.getVar("OLDEST_KERNEL", d, 1)
if kernel_ver is None:
qemu = "qemu-%s -s 1048576" % target_arch