[yocto] working my way through the kernel hands-on labs finally

Robert P. J. Day rpjday at crashcourse.ca
Tue Apr 9 04:32:03 PDT 2013


On Mon, 8 Apr 2013, Tom Zanussi wrote:

> On Mon, 2013-04-08 at 11:41 -0400, Robert P. J. Day wrote:
> > finally have the time to work my way through the ELC 2013 hands on
> > kernel labs described here:
> >
> > https://www.yoctoproject.org/tools-resources/presentations/working-kernel
> >
> > since i'll almost certainly use some of them in my next yocto course,
> > so the occasional question for anyone who's already been down this
> > road.  start with lab 1.
> >
> >   the doc mentions including the meta-yocto and meta-yocto-bsp
> > layers -- are those strictly necessary? the layer.conf definition
> > file for the lab1 layer doesn't list those layers as dependencies.
> > what will happen if i leave them out? what's the policy on
> > explicitly listing dependencies on those two layers in a new
> > layer?
> >
>
> The bblayers.conf for the labs is just the bblayers.conf that gets
> generated the first time you source oe-init-build-env in poky, which
> is what the lab is based on.  You shouldn't need those layers - the
> BSPs should work fine outside of poky, but since this is a yocto lab
> and it uses poky, there's no need to make a point of removing them -
> actually, I haven't tried removing those layers - meta-yocto-bsp
> could certainly be removed since it's all machine-specific to
> existing BSPs, but it's easy enough to remove them and see...

  i took them out since i'm a minimalist -- i really like to strip out
anything that doesn't need to be there to avoid any unexpected side
effects.  so far, doesn't seem to have made a difference, and i didn't
expect it to.

  to lab 2.  and beyond!

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



More information about the yocto mailing list