Skip to contentSkip to conversation

glibc-locale: Enable binary locale generation for nativesdk-glibc

PATCH New Richard Purdie 1 participant 1 message May 21, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 glibc-locale: Enable binary locale generation for nativesdk-glibc

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.

meta/recipes-core/glibc/glibc-locale.inc +1 -1
index e868e38..0a7adfc 100644
@@ -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