glibc-external: obey a locale-utf8-is-default external toolchain feature

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
Christopher Larson
2020-06-24 00:30:45 +05:00
parent 9f90c8e04f
commit 6b29ed97ea

View File

@@ -53,7 +53,8 @@ FILES_MIRRORS .= "\
python do_install () {
bb.build.exec_func('external_toolchain_do_install', d)
bb.build.exec_func('glibc_external_do_install_extra', d)
bb.build.exec_func('adjust_locale_names', d)
if not bb.utils.contains('EXTERNAL_TOOLCHAIN_FEATURES', 'locale-utf8-is-default', True, False, d):
bb.build.exec_func('adjust_locale_names', d)
# sentinel
}