[yocto] does a meta-intel (sub)layer require adding the meta-intel layer to bblayers.conf?

Robert P. J. Day rpjday at crashcourse.ca
Sun Mar 25 10:46:44 PDT 2012


On Sun, 25 Mar 2012, Tom Zanussi wrote:

> On Sun, 2012-03-25 at 13:23 -0400, Robert P. J. Day wrote:
> > again, a discrepancy between the docs and the source files.  i
> > checked out the entire meta-intel layer, and below that the file
> > meta-crownbay/README clearly states:
> >
> > "Having done that, and assuming you extracted the BSP tarball contents
> > at the top-level of your yocto build tree, you can build a crownbay
> > image by adding the location of the meta-crownbay layer to
> > bblayers.conf, along with the meta-intel layer itself (to access
> > common metadata shared between BSPs) e.g.:
> >
> >   yocto/meta-intel \
> >   yocto/meta-intel/meta-crownbay \"
> >
> >   however, the ref manual, Section 4.1, "BSP Layers", suggests only:
> >
> >      BBLAYERS = " \
> >         /usr/local/src/yocto/meta \
> >         /usr/local/src/yocto/meta-yocto \
> >         /usr/local/src/yocto/meta-<bsp_name> \
> >         "
> >
> > note no mention of including "meta-intel" layer.  clarification?
> >
>
> Yes, I think that's as it should be - the general-purpose documentation
> shouldn't mention specific layers.  meta-intel has its own layering
> requirements as mentioned in the READMEs for those BSPs.  Also I think
> the text mentions it's an example, but I guess I'm a bit confused since
> I'm finding that in section 5.1. Example Filesystem Layout here:
>
> http://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html
>
> Am I looking at the wrong thing?
>
> In either case, possibly a note that this is just an example and that a
> given layer may have its own requirements?

  hang on ... i can see that meta-intel is a valid layer, under which
you can find conf/machine/include/ia32-base.inc.  and in all of the
*specific* intel-related BSPs, well:

$ grep -r ia32-base.inc *
meta-cedartrail/conf/machine/cedartrail.conf:require conf/machine/include/ia32-base.inc
meta-crownbay/conf/machine/crownbay.conf:require conf/machine/include/ia32-base.inc
meta-crownbay/conf/machine/crownbay-noemgd.conf:require conf/machine/include/ia32-base.inc
meta-emenlow/conf/machine/emenlow.conf:require conf/machine/include/ia32-base.inc
meta-fishriver/conf/machine/fishriver.conf:require conf/machine/include/ia32-base.inc
meta-fri2/conf/machine/fri2-noemgd.conf:require conf/machine/include/ia32-base.inc
meta-fri2/conf/machine/fri2.conf:require conf/machine/include/ia32-base.inc
meta-jasperforest/conf/machine/jasperforest.conf:require conf/machine/include/ia32-base.inc
meta-n450/conf/machine/n450.conf:require conf/machine/include/ia32-base.inc
meta-romley/conf/machine/romley.conf:require conf/machine/include/ia32-base.inc
meta-sugarbay/conf/machine/sugarbay.conf:require conf/machine/include/ia32-base.inc
meta-sys940x/conf/machine/sys940x-noemgd.conf:require conf/machine/include/ia32-base.inc
meta-sys940x/conf/machine/sys940x.conf:require conf/machine/include/ia32-base.inc
$

  that *would* seem to require adding meta-intel to your layers file,
no?  or am i misunderstanding something?

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