[yocto] discussion of layers in dev manual uses a *really* bad example

Robert P. J. Day rpjday at crashcourse.ca
Sun Dec 30 01:45:43 PST 2012


  more pedantry -- dev manual, section 5.1.2 talks about creating a
new layer and recommends using the meta-yocto layer.conf as a starting
point, which contains:

     # We have a conf and classes directory, add to BBPATH
     BBPATH := "${LAYERDIR}:${BBPATH}"

  the problem is that almost every other layer *appends* LAYERDIR to
BBPATH, not the other way around, so that example is spectacularly
unrepresentative.  (i'm unaware of any other layer that sets BBPATH in
that order, and i recall tom zanussi (?) explaining once why that
was.)

  perhaps a different example, and a short explanation about why the
meta-yocto layer is the exception here?

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