]> code.ossystems Code Review - openembedded-core.git/commitdiff
glibc-locale: Enable binary locale generation for nativesdk-glibc
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 21 May 2016 10:53:08 +0000 (11:53 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 21 May 2016 21:21:31 +0000 (22:21 +0100)
python3 has much stricter locale requirements than previous versions.
If a locale isn't present, python3 reverts to ascii mode under which
bit
bake can't operate.

We therefore need working binary locales in things like uninative-tarball and buildtools-tarball. This patch enables binary locales for nativesdk-glibc.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glibc/glibc-locale.inc

index e868e38a9795877bfe450ff0fff0cb3df3ceeed9..0a7adfcc83cfb991fafe2b969b08c2eaa9da70de 100644 (file)
@@ -19,7 +19,7 @@ do_package[depends] += "${BINUTILSDEP}"
 
 # default to disabled 
 ENABLE_BINARY_LOCALE_GENERATION ?= "0"
-ENABLE_BINARY_LOCALE_GENERATION_pn-nativesdk-glibc-locale = "0"
+ENABLE_BINARY_LOCALE_GENERATION_pn-nativesdk-glibc-locale = "1"
 
 #enable locale generation on these arches
 # BINARY_LOCALE_ARCHES is a space separated list of regular expressions