diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-11-13 23:17:26 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-11-21 21:50:59 +0100 |
commit | cce0add500b6d701724a90468eb34e6bda6f4ae8 (patch) | |
tree | 04030f6a5a11d1e3a6e7c40963acffa529c8f9f9 /toolchain/toolchain-common.in | |
parent | bd0ffe2206fbd32baf7f4a1dc5fde81cfad70462 (diff) | |
download | buildroot-cce0add500b6d701724a90468eb34e6bda6f4ae8.tar.gz buildroot-cce0add500b6d701724a90468eb34e6bda6f4ae8.zip |
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>
Diffstat (limited to 'toolchain/toolchain-common.in')
-rw-r--r-- | toolchain/toolchain-common.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |