@@ -321,14 +321,11 @@ python package_do_split_gconvs () {
bb.note("preparing tree for binary locale generation")
bb.build.exec_func("do_prep_locale_tree", d)
- utf8_only = int(d.getVar('LOCALE_UTF8_ONLY') or 0)
utf8_is_default = int(d.getVar('LOCALE_UTF8_IS_DEFAULT') or 0)
encodings = {}
for locale in to_generate:
charset = supported[locale]
- if utf8_only and charset != 'UTF-8':
- continue
m = dot_re.match(locale)
if m:
@@ -10,7 +10,6 @@ DEFAULT_IMAGE_LINGUAS:libc-glibc = "c en-us en-gb"
IMAGE_LINGUAS ?= "${DEFAULT_IMAGE_LINGUAS}"
ENABLE_BINARY_LOCALE_GENERATION ?= "1"
-LOCALE_UTF8_ONLY ?= "0"
LOCALE_UTF8_IS_DEFAULT ?= "1"
LOCALE_UTF8_IS_DEFAULT:class-nativesdk = "0"
ptest subpackages for various recipes added RDEPENDS for locales that do not exist when LOCALE_UTF8_ONLY is set to 1. This makes it clear that LOCALE_UTF8_ONLY=1 is untested in Yocto and became unsupported. Remove this distro variable. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> --- meta/classes-recipe/libc-package.bbclass | 3 --- meta/conf/distro/include/default-distrovars.inc | 1 - 2 files changed, 4 deletions(-)