From: Thomas Petazzoni Date: Thu, 13 Nov 2014 22:17:26 +0000 (+0100) Subject: toolchain: do not allow locale generation when locale support is not available X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cce0add500b6d701724a90468eb34e6bda6f4ae8;p=buildroot.git toolchain: do not allow locale generation when locale support is not available When the C library being used is uClibc, the locale support can be disabled. In this case, it does not make sense to show the "Generate locales" option. Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- diff --git a/toolchain/toolchain-common.in b/toolchain/toolchain-common.in index 683c143c2d..ad04d6459e 100644 --- a/toolchain/toolchain-common.in +++ b/toolchain/toolchain-common.in @@ -69,7 +69,7 @@ config BR2_GENERATE_LOCALE string "Generate locale data" default "" depends on \ - BR2_TOOLCHAIN_BUILDROOT_UCLIBC || \ + (BR2_TOOLCHAIN_BUILDROOT_UCLIBC && BR2_ENABLE_LOCALE) || \ BR2_TOOLCHAIN_USES_GLIBC help Generate support for a list of locales. Locales can be