Re: [PATCH] kernel.bbclass: Add dependency on binutils

Richard Purdie
2013-05-20T22:25:35Z

On Mon, 2013-05-20 at 10:37 -0700, Khem Raj wrote:
> On May 20, 2013, at 5:22 AM, Mike Crowe <mac@mcrowe.com> wrote:
>
> > Compiling the Linux kernel requires binutils; kernel.bbclass uses
> > INHIBIT_DEFAULT_DEPS so it had better depend on binutils explicitly.
> >
> > (The lack of this dependency isn't always a problem because binutils
> > is required to build gcc-cross but if gcc-cross is reconstructed from
> > the sstate cache then gcc-cross's dependency on binutils-cross is
> > ignored due to being in the safe dependency list in
> > setscene_depvalid.)
>
> what good is cross-gcc without cross-binutils. Could it be fixed in gcc recipes instead so
> it pulls binutils-cross

This needs fixing in the logic in sstate.bbclass.

Cheers,

Richard