From 6392dffcf830c3514820a0b68767a5b72984ace1 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 13 Mar 2012 07:57:37 -0600 Subject: documentation/dev-manual/dev-manual-common-tasks.xml: More edits to layer Layer section review comments from Paul Eggleton added. (From yocto-docs rev: a536fe1635dbe9157e86995e7a78568e41a75957) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/dev-manual/dev-manual-common-tasks.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'documentation') diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 729e945153..90d9b54726 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -131,7 +131,7 @@ The LAYERDIR variable expands to the directory of the current layer and requires the immediate expansion operator so that BitBake does not wait to expand the variable when it's parsing a different directory. - Through the use of the BBPATH environment variable, + Through the use of the BBPATH variable, BitBake locates .bbclass files, configuration files, and files that are included with include and require statements. @@ -163,7 +163,7 @@ Use .bbappend files for each recipe that uses an include file. Or, if you are introducing a new recipe that requires the inc file, use the - full path to refer to the original. + path relative to the original layer directory to refer to the file. For example, use require recipes-core/somepackage/somefile.inc instead of require somefile.inc. If you're finding you have to overlay the include file, it could indicate a @@ -186,7 +186,7 @@ We also recommend the following: Store custom layers in a Git repository that uses the - meta-prvt-XXXX format. + meta-<layer_name> format. Clone the repository alongside other meta directories in the Yocto Project source files area. -- cgit v1.2.3-54-g00ecf