[yocto] clarification about BSP layer names and bblayers.conf file?

Robert P. J. Day rpjday at crashcourse.ca
Fri Apr 19 05:37:36 PDT 2013


  from section 1.1 of BSP developers guide:

http://www.yoctoproject.org/docs/latest/bsp-guide/bsp-guide.html#bsp-layers

first, it's not actually *required* that a layer name start with the
prefix "meta-", is it?  pretty sure it's not and, if it isn't, that
should be made abundantly clear. it's fine to point out that it's a
well-established convention but it should still be mentioned
explicitly that it's not necessary.

  second, the BBLAYERS example there seems overly complicated and
potentially confusing to beginners. the fact that meta-yocto is listed
as NON_REMOVABLE might make readers wonder how they're supposed to
know that. why not go with something a lot more people will see, like,
say:

     BBLAYERS = ?" \                  <-- and that looks like a typo
       /usr/local/src/yocto/meta \
       /usr/local/src/yocto/meta-ti \
       "

     BBLAYERS_NON_REMOVABLE ?= " \
       /usr/local/src/yocto/meta \
       "

  finally, the passing reference to layers that contain sub-BSP-layers
is good, but show an example, such as the fact that the meta-crownbay
layer.conf file has a dependency on meta-intel:

...
LAYERDEPENDS_crownbay = "intel"

  never pass up the opportunity to reinforce an idea with a few lines
of actual code. :-)

  more shortly ...

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