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