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>
This commit is contained in:
Will Newton 2009-07-27 10:39:50 +02:00 committed by Peter Korsgaard
parent a248954890
commit 27ce942e65
2 changed files with 5 additions and 4 deletions

View File

@ -27,6 +27,7 @@
#411: ipsec-tools: Bump version to 0.7.2 #411: ipsec-tools: Bump version to 0.7.2
#417: New package spawn-fcgi #417: New package spawn-fcgi
#419: Bump lighttpd package to 1.4.23 #419: Bump lighttpd package to 1.4.23
#421: toolchain: Clean up toolchain locale support menu
#467: DirectFB 1.4.1 #467: DirectFB 1.4.1
#473: memstat_0.5.tar.gz has install with -D and that fails "make" #473: memstat_0.5.tar.gz has install with -D and that fails "make"

View File

@ -27,12 +27,13 @@ config BR2_INET_RPC
built with RPC support then enable this option. built with RPC support then enable this option.
config BR2_ENABLE_LOCALE config BR2_ENABLE_LOCALE
bool "Enable locale/gettext/i18n support?" bool "Enable toolchain locale/i18n support?"
select BR2_USE_WCHAR
help help
If you are building your own toolchain and you want to 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 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 config BR2_ENABLE_LOCALE_PREGENERATED
bool "Use pregenerated locale data?" bool "Use pregenerated locale data?"
@ -46,7 +47,6 @@ config BR2_ENABLE_LOCALE_PREGENERATED
config BR2_ENABLE_LOCALE_PURGE config BR2_ENABLE_LOCALE_PURGE
bool "Purge unwanted locales" bool "Purge unwanted locales"
depends on BR2_ENABLE_LOCALE
help help
Explicitly specify what locales to install on target. If N Explicitly specify what locales to install on target. If N
then all locales supported by packages are installed. then all locales supported by packages are installed.