summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2012-03-13 07:57:37 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-23 14:24:44 +0000
commit6392dffcf830c3514820a0b68767a5b72984ace1 (patch)
tree121cc04140814ce75986f831ae4058a133f9d4b0 /documentation
parentf202838fdd1872c2a74f07c5a5d9a664780972db (diff)
downloadast2050-yocto-poky-6392dffcf830c3514820a0b68767a5b72984ace1.zip
ast2050-yocto-poky-6392dffcf830c3514820a0b68767a5b72984ace1.tar.gz
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 <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/dev-manual/dev-manual-common-tasks.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml
index 729e945..90d9b54 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -131,7 +131,7 @@
The <filename>LAYERDIR</filename> 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.</para>
- <para>Through the use of the <filename>BBPATH</filename> environment variable,
+ <para>Through the use of the <filename>BBPATH</filename> variable,
BitBake locates <filename>.bbclass</filename> files, configuration
files, and files that are included with <filename>include</filename>
and <filename>require</filename> statements.
@@ -163,7 +163,7 @@
Use <filename>.bbappend</filename> 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 <filename>require recipes-core/somepackage/somefile.inc</filename>
instead of <filename>require somefile.inc</filename>.
If you're finding you have to overlay the include file, it could indicate a
@@ -186,7 +186,7 @@
We also recommend the following:
<itemizedlist>
<listitem><para>Store custom layers in a Git repository that uses the
- <filename>meta-prvt-XXXX</filename> format.</para></listitem>
+ <filename>meta-&lt;layer_name&gt;</filename> format.</para></listitem>
<listitem><para>Clone the repository alongside other <filename>meta</filename>
directories in the Yocto Project source files area.</para></listitem>
</itemizedlist>
OpenPOWER on IntegriCloud