[OE-core] [PATCH] Signed-off-by: Andrey Belous <abelous at broadcom.com>

Khem Raj raj.khem at gmail.com
Fri Mar 7 18:40:45 UTC 2014


On Fri, Mar 7, 2014 at 2:33 AM, Nicolas Dechesne
<nicolas.dechesne at linaro.org> wrote:
> Hi Khem,
>
> On Fri, Mar 7, 2014 at 6:43 AM, Khem Raj <raj.khem at gmail.com> wrote:
>> On Tue, Mar 4, 2014 at 1:55 PM, Andrey Belous <abelous at broadcom.com> wrote:
>>> Hi Phil,
>>> I have prebuild uclibc library that I would like to use, without that change I cannot force to use my prebuild library
>>>
>>
>> OK so write a uclibc recipe for it and let it provide virtual/libc
>> and, we can very well have multiple version of recipes, this is no
>> different. Then use higher DEFAULT_PREFERENCE for your recipe.
>
> I still don't get it why in distro/include/tclibc-uclibc.inc we have
>
> PREFERRED_PROVIDER_virtual/libc = "uclibc"
> PREFERRED_PROVIDER_virtual/libiconv ?= "libiconv"
> PREFERRED_PROVIDER_virtual/libintl ?= "gettext"
> PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-eglibc"
> PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-eglibc"
>
> and in distro/include/tclibc-eglibc.inc, we have:
>
> PREFERRED_PROVIDER_virtual/libiconv ?= "eglibc"
> PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-eglibc"
> PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-eglibc"
> PREFERRED_PROVIDER_virtual/libintl ?= "eglibc"
> PREFERRED_PROVIDER_virtual/libc ?= "eglibc"
> PREFERRED_PROVIDER_virtual/nativesdk-libc ?= "nativesdk-eglibc"
> PREFERRED_PROVIDER_virtual/libc-locale ?= "eglibc-locale"
>
> Is a specific reason why in the first case we use "=" and not "?="
> like used everywhere else? This file is loaded last, so we have no
> chance to override the value. regardless of the actual reason, don't
> we need the change anyways?

I would think eglibc.inc should be fixed as well.



More information about the Openembedded-core mailing list