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>
This commit is contained in:
parent
f202838fdd
commit
6392dffcf8
|
@ -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-<layer_name></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>
|
||||
|
|
Loading…
Reference in New Issue