[OE-core] [PATCH] linux-tools: multilib compilation fix

Marinescu, Bogdan A bogdan.a.marinescu at intel.com
Thu Jun 21 14:59:54 UTC 2012


On Thu, Jun 21, 2012 at 3:42 PM, Bruce Ashfield
<bruce.ashfield at gmail.com> wrote:
> On Thu, Jun 21, 2012 at 8:39 AM, Richard Purdie
> <richard.purdie at linuxfoundation.org> wrote:
>> On Thu, 2012-06-21 at 08:33 -0400, Bruce Ashfield wrote:
>>> On Thu, Jun 21, 2012 at 8:32 AM, Marinescu, Bogdan A
>>> <bogdan.a.marinescu at intel.com> wrote:
>>> > On Thu, Jun 21, 2012 at 3:29 PM, Richard Purdie
>>> > <richard.purdie at linuxfoundation.org> wrote:
>>> >> On Wed, 2012-06-20 at 11:25 +0300, Bogdan Marinescu wrote:
>>> >>> This patch makes linux-tools compile properly on multilib configurations
>>> >>> (which failed because of some invalid dependencies). Tested by compiling
>>> >>> lib32-core-image-sato-sdk.
>>> >>>
>>> >>> Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu at intel.com>
>>> >>> ---
>>> >>>  meta/recipes-kernel/linux/linux-tools.inc |    2 +-
>>> >>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>> >>>
>>> >>> diff --git a/meta/recipes-kernel/linux/linux-tools.inc b/meta/recipes-kernel/linux/linux-tools.inc
>>> >>> index 3b03c05..048608c 100644
>>> >>> --- a/meta/recipes-kernel/linux/linux-tools.inc
>>> >>> +++ b/meta/recipes-kernel/linux/linux-tools.inc
>>> >>> @@ -34,7 +34,7 @@ do_install_perf[umask] = "022"
>>> >>>
>>> >>>  PERFDEPENDS = "virtual/${MLPREFIX}libc:do_populate_sysroot ${MLPREFIX}elfutils:do_populate_sysroot ${MLPREFIX}binutils:do_populate_sysroot"
>>> >>>  PERFDEPENDS_libc-uclibc = ""
>>> >>> -PERFRDEPENDS = "python perl elfutils"
>>> >>> +PERFRDEPENDS = "${MLPREFIX}python ${MLPREFIX}perl ${MLPREFIX}elfutils"
>>> >>>  PERFRDEPENDS_libc-uclibc = ""
>>> >>>
>>> >>>  do_compile_perf[depends] = "${PERFDEPENDS}"
>>> >>
>>> >> Bruce has just totally rearranged this code. Could you check if the new
>>> >> recipe still suffers from this issue please?
>>> >
>>> > Sure, I'm on it.
>>>
>>> Yep. We still need this addition to the recipe .. luckily, easy to do :)
>>
>> I'm not sure, the autorenaming magic should take care of a simple
>> RDEPENDS...
>
> Ah yes, I wasn't sure about that myself. I'll just watch and wait in
> that case :)

I'm not sure what to think. I don't get the error that I got yesterday
when I compile lib32-core-image-sato-sdk, but I also can't find any
linux-tools package anywhere. Is this normal?

Thanks,
Bogdan

>
> Bruce
>
>>
>> Cheers,
>>
>> Richard
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>
>
> --
> "Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end"
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




More information about the Openembedded-core mailing list