* discussion of layers in dev manual uses a *really* bad example
@ 2012-12-30 9:45 Robert P. J. Day
2013-01-01 18:58 ` Scott Garman
0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2012-12-30 9:45 UTC (permalink / raw)
To: Yocto discussion list
more pedantry -- dev manual, section 5.1.2 talks about creating a
new layer and recommends using the meta-yocto layer.conf as a starting
point, which contains:
# We have a conf and classes directory, add to BBPATH
BBPATH := "${LAYERDIR}:${BBPATH}"
the problem is that almost every other layer *appends* LAYERDIR to
BBPATH, not the other way around, so that example is spectacularly
unrepresentative. (i'm unaware of any other layer that sets BBPATH in
that order, and i recall tom zanussi (?) explaining once why that
was.)
perhaps a different example, and a short explanation about why the
meta-yocto layer is the exception here?
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: discussion of layers in dev manual uses a *really* bad example
2012-12-30 9:45 discussion of layers in dev manual uses a *really* bad example Robert P. J. Day
@ 2013-01-01 18:58 ` Scott Garman
0 siblings, 0 replies; 2+ messages in thread
From: Scott Garman @ 2013-01-01 18:58 UTC (permalink / raw)
To: yocto
On 12/30/2012 01:45 AM, Robert P. J. Day wrote:
>
> more pedantry -- dev manual, section 5.1.2 talks about creating a
> new layer and recommends using the meta-yocto layer.conf as a starting
> point, which contains:
>
> # We have a conf and classes directory, add to BBPATH
> BBPATH := "${LAYERDIR}:${BBPATH}"
>
> the problem is that almost every other layer *appends* LAYERDIR to
> BBPATH, not the other way around, so that example is spectacularly
> unrepresentative. (i'm unaware of any other layer that sets BBPATH in
> that order, and i recall tom zanussi (?) explaining once why that
> was.)
>
> perhaps a different example, and a short explanation about why the
> meta-yocto layer is the exception here?
ScottR:
As some background on this issue, please take a look at this thread from
almost exactly a month ago:
https://lists.yoctoproject.org/pipermail/yocto/2012-December/013041.html
https://lists.yoctoproject.org/pipermail/yocto/2012-December/013057.html
I agree that we shouldn't recommend using the meta-yocto layer.conf as a
starting point, due to the BBPATH append ordering difference.
And maybe a note about why we order the BBPATH append as we do in
meta-yocto (see Thomas' concise explanation in the second link above)
would be appropriate.
Scott
--
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-01 18:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-30 9:45 discussion of layers in dev manual uses a *really* bad example Robert P. J. Day
2013-01-01 18:58 ` Scott Garman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.