From: Gary Thomas <gary@mlbassoc.com>
To: yocto@yoctoproject.org
Subject: Re: writeup on the mechanics of FILESEXTRAPATHS and bbappend files
Date: Thu, 18 Apr 2013 04:23:46 -0600 [thread overview]
Message-ID: <516FC9B2.1090802@mlbassoc.com> (raw)
In-Reply-To: <CAHUNapRQdV5hM8rMrChYD4joa1N0eN9iok6+C4UU07AaJv04Zg@mail.gmail.com>
On 2013-04-17 16:26, Trevor Woerner wrote:
> On Wed, Apr 17, 2013 at 11:12 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>> I also think it would be good to point out the use of := in the
>> FILESEXTRAPATHS
>> assignment and why it's important.
>
> Knowing that the := operator will put your directories first is only
> useful if you also know that the underlying mechanism will take the
> first such files from the given directories it encounters :-) What's
> to say bitbake doesn't look at all the directories/files and take the
> last ones?
This has more to do with how the path is constructed (using _prepend).
My point, which was totally unclear to me when using this line, was
that with ':=' ${THISDIR} evaluates to the directory that contains
the .bbappend file (what you want/need) whereas with '=' it evaluates
to the directory containing the main .bb file. Incredibly confusing
if you miss it...
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
next prev parent reply other threads:[~2013-04-18 10:23 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-17 14:24 writeup on the mechanics of FILESEXTRAPATHS and bbappend files Robert P. J. Day
2013-04-17 15:03 ` Paul Eggleton
2013-04-17 15:12 ` Robert P. J. Day
2013-04-17 15:21 ` Rifenbark, Scott M
2013-04-17 15:39 ` Robert P. J. Day
2013-04-17 15:42 ` Paul Eggleton
2013-04-19 16:01 ` William M.A. Traynor
2013-04-17 15:12 ` Gary Thomas
2013-04-17 15:34 ` Robert P. J. Day
2013-04-17 15:42 ` Gary Thomas
2013-04-17 22:26 ` Trevor Woerner
2013-04-17 22:30 ` Robert P. J. Day
2013-04-18 10:23 ` Gary Thomas [this message]
2013-04-18 10:27 ` Robert P. J. Day
2013-04-18 15:08 ` Trevor Woerner
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=516FC9B2.1090802@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=yocto@yoctoproject.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 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.