<br><br>On Wednesday, June 27, 2012, Richard Purdie <<a href="mailto:richard.purdie@linuxfoundation.org">richard.purdie@linuxfoundation.org</a>> wrote:<br>> On Tue, 2012-06-26 at 23:09 -0700, Khem Raj wrote:<br>>> USE_NLS is generally defined for uclibc based system builds<br>
>> and generally its defined to 'no' there. However this variable<br>>> does not exist at all for eglibc/glibc distributions. This<br>>> patch adds a weak definition to 'yes' on eglibc based system<br>
>> builds. This will ease out some of the cryptic contructs we<br>>> have to define certain options based on USE_NLS and also<br>>> checking got uclibc at the same time to avoid pythong exceptions<br>>> when its not defined.<br>
>><br>>> Signed-off-by: Khem Raj <<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>><br>>> ---<br>>> meta/conf/distro/include/tclibc-eglibc.inc | 2 ++<br>>> 1 file changed, 2 insertions(+)<br>
>><br>>> diff --git a/meta/conf/distro/include/tclibc-eglibc.inc b/meta/conf/distro/include/tclibc-eglibc.inc<br>>> index 4f5607f..e2ca4e8 100644<br>>> --- a/meta/conf/distro/include/tclibc-eglibc.inc<br>
>> +++ b/meta/conf/distro/include/tclibc-eglibc.inc<br>>> @@ -32,6 +32,8 @@ LIBC_LOCALE_DEPENDENCIES = "\<br>>> eglibc-gconv-iso8859-1 \<br>>> eglibc-gconv-iso8859-15"<br>>><br>
>> +USE_NLS ?= "yes"<br>>> +<br>>> def get_libc_locales_dependencies(d):<br>>> if 'libc-locales' in (d.getVar('DISTRO_FEATURES', True) or '').split() :<br>>> return d.getVar('LIBC_LOCALE_DEPENDENCIES', True) or ''<br>
><br>> Shouldn't this go as a weak default in bitbake.conf?<br>><br>> USE_NLS ??= "yes"<br>><br><br>I think that would be better I will try that out and update <br><br>> Cheers,<br>><br>
> Richard<br>><br>><br>> _______________________________________________<br>> Openembedded-core mailing list<br>> <a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a><br>
> <a href="http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core">http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core</a><br>>