Skip to contentSkip to conversation

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

DISCUSSION Robert P. J. Day 2 participants 3 messages Oct 11, 2013

lore
Share & tools
lore
#0 lore raw

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?

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw
Quoted 16 lines · Robert P. J. Day

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

Quoted 8 lines

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.

Tom

Quoted 2 lines

rday

#2 lore raw
Quoted 26 lines · Tom Zanussi
Quoted 16 lines · Robert P. J. Day

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

Quoted 8 lines

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?

Quoted 5 lines

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

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

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