ref-manual: Updated note for FILESEXTRAPATHS variable.

Added a bit more clarification (different wording) on why to
use the immediate expansion operator and on why to include
the trailing separating colon character.

(From yocto-docs rev: d5789c98fe570f48de8546d1fc218b4d5c577d0e)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark 2013-05-29 11:45:12 +03:00 committed by Richard Purdie
parent e230049198
commit 59e4eb05d1
1 changed files with 6 additions and 5 deletions

View File

@ -1176,18 +1176,19 @@ Core layer for images cannot be removed
a directory that has the same name as the corresponding
append file.
<note>
When using the <filename>FILESEXTRAPATHS</filename>,
<para>When extending <filename>FILESEXTRAPATHS</filename>,
be sure to use the immediate expansion
(<filename>:=</filename>) operator and include
the trailing separating colon character.
(<filename>:=</filename>) operator.
Immediate expansion makes sure that BitBake evaluates
<filename>THISDIR</filename> at the time the directive
is encountered rather than at some later time when
expansion might result in a directory that does not
contain the files you need.
contain the files you need.</para>
<para>Also, include the trailing separating colon
character if you are prepending.
The trailing colon character is necessary because you
are directing BitBake to extend the path by prepending
directories to the search path.
directories to the search path.</para>
</note>
Here is another common use:
<literallayout class='monospaced'>