From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E3479E013A8 for ; Sun, 25 Mar 2012 12:06:10 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 25 Mar 2012 12:06:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,315,1320652800"; d="scan'208";a="132982771" Received: from unknown (HELO [10.255.12.49]) ([10.255.12.49]) by fmsmga001.fm.intel.com with ESMTP; 25 Mar 2012 12:06:10 -0700 From: Tom Zanussi To: "Robert P. J. Day" In-Reply-To: References: <1332697224.23802.50.camel@elmorro> Date: Sun, 25 Mar 2012 14:06:25 -0500 Message-ID: <1332702385.23802.55.camel@elmorro> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Cc: Yocto discussion list Subject: Re: does a meta-intel (sub)layer require adding the meta-intel layer to bblayers.conf? X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Mar 2012 19:06:11 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Sun, 2012-03-25 at 13:46 -0400, Robert P. J. Day wrote: > 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- \ > > > " > > > > > > 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? > Yes, if you're using one of the meta-intel BSPs (and as you point out that's mentioned as a requirement in each of those BSPs). But the meta-intel BSPs shouldn't be mentioned in the generic Yocto documentation (and aren't in the snippet you mention, unless I'm looking in the wrong place?). Tom > rday >