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

Richard Purdie richard.purdie at linuxfoundation.org
Thu Jun 21 12:39:54 UTC 2012


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...

Cheers,

Richard





More information about the Openembedded-core mailing list