[oe] [patch] build kernel in output dir

C Michael Sundius msundius at sundius.com
Tue Mar 9 22:18:41 UTC 2010


On Tue, Mar 9, 2010 at 2:01 PM, Tom Rini <tom_rini at mentor.com> wrote:

> 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>
>
>
> oops.. small detail.. staging got done from the wrong directory when I used
${B}...

fixed in this patch. Also took out the stb-linux_2.6.24.bb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux-out.patch
Type: application/octet-stream
Size: 6633 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20100309/abb899f9/attachment-0002.obj>


More information about the Openembedded-devel mailing list