core: drop no-longer used C.UTF-8 locale option
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 4 Mar 2018 10:29:06 +0000 (11:29 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 4 Mar 2018 10:59:16 +0000 (11:59 +0100)
Its use has been globbed into the more generic
BR2_NEEDS_HOST_UTF8_LOCALE option now.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Julius Kriukas <julius@kriukas.lt>
Cc: Christian Stewart <kidovate@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Config.in
support/dependencies/dependencies.sh

index 704840653e5e07bdd805faac69e58160bebe02ae..0002df51767f52d8b9aef3a295fefcde5ade080e 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -94,11 +94,6 @@ config BR2_HOSTARCH_NEEDS_IA32_COMPILER
 config BR2_NEEDS_HOST_UTF8_LOCALE
        bool
 
-# Hidden boolean selected by packages that explicitly need C.UTF-8 locale
-# to be available on host system.
-config BR2_NEEDS_HOST_C_UTF8_LOCALE
-       bool
-
 source "arch/Config.in"
 
 menu "Build options"
index 656cb09d42afac7221b31f7985dab0dc4cdca9ea..985b1d863b0455eab0692f40868bb297b197e610 100755 (executable)
@@ -207,19 +207,6 @@ if grep ^BR2_NEEDS_HOST_UTF8_LOCALE=y $BR2_CONFIG > /dev/null; then
        fi
 fi
 
-if grep -q ^BR2_NEEDS_HOST_C_UTF8_LOCALE=y $BR2_CONFIG; then
-       if ! which locale > /dev/null ; then
-               echo
-               echo "You need locale support on your build machine"
-               exit 1 ;
-       fi
-       if ! LC_ALL=C.UTF-8 locale -c charmap | grep -q '^UTF-8$'; then
-               echo
-               echo "You need C.UTF-8 locale suppport on the host system"
-               exit 1 ;
-       fi
-fi
-
 if grep -q ^BR2_NEEDS_HOST_JAVA=y $BR2_CONFIG ; then
        check_prog_host "java"
        JAVA_GCJ=$(java -version 2>&1 | grep gcj)