diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2013-05-29 11:45:12 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-31 08:19:20 +0100 |
commit | 59e4eb05d17f12790b223f71da60b31c59268128 (patch) | |
tree | f90ce3520a9176fbd497ad13130a92c89754c60a | |
parent | e2300491980fa3be035f1698b74ce593f27e8ba1 (diff) | |
download | ast2050-yocto-poky-59e4eb05d17f12790b223f71da60b31c59268128.zip ast2050-yocto-poky-59e4eb05d17f12790b223f71da60b31c59268128.tar.gz |
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>
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 778587f..43b387c 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -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'> |