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 <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
bd0ffe2206
commit
cce0add500
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue