[oe] [patch] build kernel in output dir

Tom Rini tom_rini at mentor.com
Tue Mar 9 22:01:36 UTC 2010


On Tue, 2010-03-09 at 13:49 -0800, C Michael Sundius wrote:
> >
> > As a concept, yay!  I'd make a few suggestions on implementation
> > however:
> > - B is the normal shorthand for where we build.  See gcc / gdb / etc for
> > examples of where $B != $S
> > - We should change $B to be something like, from the above example,
> > B="${WORKDIR}/build-${MACHINE}
> > - We should then always work like this, rather than conditionally (since
> > a kernel build where O=... fails is a bug, this should be fine).
> >
> > Ok thats all good to know, I made a few more changes.
> 
> Also realizing that some of the staging that I had in my own recipe really
> belonged in the kernel.bbclass. Though, that staging task is starting to get
> pretty messy :[
> 
> on the bright side, making those changes I think simplifies things even
> more.

On the kernel.bbclass side of things:

Acked-by: Tom Rini <tom_rini at mentor.com>

The stb-linux recipe should be its own patch, should have said that
before, sorry.

-- 
Tom Rini <tom_rini at mentor.com>
Mentor Graphics Corporation




More information about the Openembedded-devel mailing list