[PATCH] Fix minimal locale generation (UCLIBC_BUILD_MINIMAL_LOCALE)

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Mon Oct 12 14:05:01 UTC 2009


On Mon, Oct 12, 2009 at 01:24:00PM +0200, Marc Andre Tanner wrote:
>On Sun, Oct 11, 2009 at 01:03:31AM +0200, Bernhard Reutner-Fischer wrote:
>> On Sat, Oct 10, 2009 at 05:42:51PM +0200, Marc Andre Tanner wrote:
>> >On Sat, Oct 10, 2009 at 03:51:49PM +0200, Bernhard Reutner-Fischer wrote:
>> 
>> >> I'd rather do something like the attached..
>> >
>> >Yes this is even better! Does this mean that it will be "officially" 
>> >supported?
>> 
>> It should use a choice for "all" vs. "selected" locales and i think
>> the wctables should also use the given selected, for consistency.
>
>Ok, I am not sure whether I understand what you mean hear.

Here i mean thatthere should be a choice (in the kconfig language sense)
between "all" and "selected". OTOH we could just drop PREGENERATED and be
done..

>Currently wctables.h contains only the data for 1 locale (en_US or if that
>fails en_GB). Now you would like to generate the data for all locales
>specified in UCLIBC_BUILD_MINIMAL_LOCALES, right? As far as I can see this
>would need some changes in gen_wctype.c so it builds all the locales given
>on the command line.

No, it should still only contain 1, and perhaps (didn't look) one from
the selected and not US || GB since both of them may be unavailable.


More information about the uClibc mailing list