]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
toolchain: Clean up locale support menu
authorWill Newton <will.newton@gmail.com>
Mon, 27 Jul 2009 08:39:50 +0000 (10:39 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 27 Jul 2009 08:41:56 +0000 (10:41 +0200)
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>
CHANGES
toolchain/Config.in.2

diff --git a/CHANGES b/CHANGES
index ebea17b0d17180d57c61775610890af577fb61b9..3b97df9a26c216c5ab4a36fe2d0cdeb7d4665e81 100644 (file)
--- 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"
 
index e9fe8521c05378f146f39c28c44d6d548e942c91..5df04e01be33764a8e870e02146429a1c3a8a057 100644 (file)
@@ -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.