From 59e4eb05d17f12790b223f71da60b31c59268128 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 29 May 2013 11:45:12 +0300 Subject: 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 Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'documentation') diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 778587f7d2..43b387c749 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. - When using the FILESEXTRAPATHS, + When extending FILESEXTRAPATHS, be sure to use the immediate expansion - (:=) operator and include - the trailing separating colon character. + (:=) operator. Immediate expansion makes sure that BitBake evaluates THISDIR 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. + 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. Here is another common use: -- cgit v1.2.3-54-g00ecf