core: drop no-longer used C.UTF-8 locale option
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>
This commit is contained in:
parent
20862443b8
commit
b1aa2148b0
@ -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"
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user