From: Mark Hatle <mark.hatle@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: what is the value of 'BBPATH ?= ""' in layer.conf?
Date: Mon, 23 Nov 2015 08:16:02 -0600 [thread overview]
Message-ID: <56531FA2.8020209@windriver.com> (raw)
In-Reply-To: <alpine.LFD.2.20.1511220407380.13727@localhost>
On 11/22/15 3:10 AM, Robert P. J. Day wrote:
>
> perusing some wind river layers, and in the layer.conf file here:
>
> https://github.com/WindRiver-OpenSourceLabs/wr-kernel/blob/LB21_7.0_RCPL0002/conf/layer.conf
>
> i see the opening snippet:
>
> BBPATH ?= ""
> # We have a conf and classes directory, add to BBPATH
> BBPATH := "${LAYERDIR}:${BBPATH}"
(for the -first- layer defined)
BBPATH := "${LAYERDIR}:${BBPATH}"
will result in a warning or error because the ${BBPATH} can't be expanded.
There was a commit late 2013 to OE-Core and most related layers that turned this
into a append (or in this case prepend):
BBPATH =. "${LAYERDIR}:"
This is stop the need for the BBPATH and work properly.
LAYERDIR is always expanded when used, so no need for the :=
--Mark
> what is the purpose of that initial assignment
>
> BBPATH ?= ""
>
> if that variable has no value, won't it just expand to the empty
> string so that the eventual effect is the same? or is there something
> more subtle happening here?
>
> rday
>
prev parent reply other threads:[~2015-11-23 14:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-22 9:10 what is the value of 'BBPATH ?= ""' in layer.conf? Robert P. J. Day
2015-11-22 9:17 ` Robert Yang
2015-11-22 9:29 ` Robert P. J. Day
2015-11-22 9:38 ` Robert Yang
2015-11-23 14:16 ` Mark Hatle [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56531FA2.8020209@windriver.com \
--to=mark.hatle@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox