summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Newton2009-07-27 10:39:50 +0200
committerPeter Korsgaard2009-07-27 10:41:56 +0200
commit27ce942e6536174a9fa6f5dd13f87d52bca0950c (patch)
tree2dde6ab7dfdb72f114be050e332054e49f17ec9b
parenttoolchain/uClibc: add patch to rename getline to get_line in unifdef.c (diff)
downloadbuildroot-27ce942e6536174a9fa6f5dd13f87d52bca0950c.tar.gz
buildroot-27ce942e6536174a9fa6f5dd13f87d52bca0950c.tar.xz
buildroot-27ce942e6536174a9fa6f5dd13f87d52bca0950c.zip
toolchain: Clean up locale support menu
Closes #421. This patch cleans up and fixes some minor issues with the locale support section of the toolchain menu. 1. uClibc requires wchar support if locales are enabled, make locale support select wchar support. 2. Allow purging of locale information even if there is no locale support in the C library. This cleans up after packages that install things into /usr/share/locale on the target. Signed-off-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--CHANGES1
-rw-r--r--toolchain/Config.in.28
2 files changed, 5 insertions, 4 deletions
diff --git a/CHANGES b/CHANGES
index ebea17b0d..3b97df9a2 100644
--- a/CHANGES
+++ b/CHANGES
@@ -27,6 +27,7 @@
#411: ipsec-tools: Bump version to 0.7.2
#417: New package spawn-fcgi
#419: Bump lighttpd package to 1.4.23
+ #421: toolchain: Clean up toolchain locale support menu
#467: DirectFB 1.4.1
#473: memstat_0.5.tar.gz has install with -D and that fails "make"
diff --git a/toolchain/Config.in.2 b/toolchain/Config.in.2
index e9fe8521c..5df04e01b 100644
--- a/toolchain/Config.in.2
+++ b/toolchain/Config.in.2
@@ -27,12 +27,13 @@ config BR2_INET_RPC
built with RPC support then enable this option.
config BR2_ENABLE_LOCALE
- bool "Enable locale/gettext/i18n support?"
+ bool "Enable toolchain locale/i18n support?"
+ select BR2_USE_WCHAR
help
If you are building your own toolchain and you want to
- enable locale/gettext/i18n support then enable this option.
+ enable locale/i18n support then enable this option.
If you have an external binary toolchain that has been
- built with locale/gettext/i18n support then enable this option.
+ built with locale/i18n support then enable this option.
config BR2_ENABLE_LOCALE_PREGENERATED
bool "Use pregenerated locale data?"
@@ -46,7 +47,6 @@ config BR2_ENABLE_LOCALE_PREGENERATED
config BR2_ENABLE_LOCALE_PURGE
bool "Purge unwanted locales"
- depends on BR2_ENABLE_LOCALE
help
Explicitly specify what locales to install on target. If N
then all locales supported by packages are installed.