summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2016-12-04 10:43:06 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-12-04 15:38:16 +0100
commit40685f6a51fcba41721e0b798393cb0b01dfe27b (patch)
treebf037c4414af81592e452aa4cf927c08ec44a5cf /support
parent70da1d7c46415f4ed231af8598839fc779b130ec (diff)
support/dependencies: use the new kconfig option to check UTF8 locale
Currently, we require a host with an UTF-8 locale as soone as we build a Buildroot toolchain with support for locales. This means that we do erquire such a locale when building a toolchain with either uClibc, glibc or musl. However, glibc and musl do not require such a locale to be present. Use the new option to check if an UTF8 locale is needed on the host, rather than deriving that from toolchain settings. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'support')
-rwxr-xr-xsupport/dependencies/dependencies.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/support/dependencies/dependencies.sh b/support/dependencies/dependencies.sh
index e632a1432..bfd65960c 100755
--- a/support/dependencies/dependencies.sh
+++ b/support/dependencies/dependencies.sh
@@ -178,8 +178,7 @@ if test "${missing_progs}" = "yes" ; then
exit 1
fi
-if grep ^BR2_TOOLCHAIN_BUILDROOT=y $BR2_CONFIG > /dev/null && \
- grep ^BR2_ENABLE_LOCALE=y $BR2_CONFIG > /dev/null ; then
+if grep ^BR2_NEEDS_HOST_UTF8_LOCALE=y $BR2_CONFIG > /dev/null; then
if ! which locale > /dev/null ; then
echo
echo "You need locale support on your build machine to build a toolchain supporting locales"