[yocto] why does meta-intel crownbay-noemgd.conf not require "meta-intel"?

Robert P. J. Day rpjday at crashcourse.ca
Fri Oct 11 12:01:44 PDT 2013


On Fri, 11 Oct 2013, Tom Zanussi wrote:

> On Fri, 2013-10-11 at 05:49 -0400, Robert P. J. Day wrote:
> > perusing sample machine conf files and BSP definitions, looking for
> > nice examples to use in a class in a couple weeks, and i noticed the
> > following oddity under meta-intel/meta-crownbay.
> >
> >   while crownbay.conf contains:
> >
> > require conf/machine/include/tune-atom.inc
> > require conf/machine/include/ia32-base.inc
> > require conf/machine/include/meta-intel.inc
> > require conf/machine/include/meta-intel-emgd.inc
> >
> >   crownbay-noemgd.conf contains only:
> >
> > require conf/machine/include/tune-atom.inc
> > require conf/machine/include/ia32-base.inc
> >
> >   i would have thought the latter would still need to require
> > "meta-intel.inc" for consistency.
> >
> >   i'm sure if i poked around for a few seconds, it would make sense
> > but, just from a visual point of view -- if someone is reading the
> > files trying to understand how to define a BSP -- it looks confusing,
> > no?
> >
>
> Not really - meta-intel is itself a separate layer, and crownbay-noemgd
> doesn't need anything from it, so doesn't need the includes for it.
>
> crownbay.conf does need at least emgd and related packages from
> meta-intel so includes meta-intel.inc and meta-intel-emgd.inc.

  ah, got it, thanks. i should have read a bit more carefully.

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