diff options
| author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2012-03-13 07:57:37 -0600 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-23 14:24:44 +0000 |
| commit | 6392dffcf830c3514820a0b68767a5b72984ace1 (patch) | |
| tree | 121cc04140814ce75986f831ae4058a133f9d4b0 /documentation/dev-manual | |
| parent | f202838fdd1872c2a74f07c5a5d9a664780972db (diff) | |
| download | 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/dev-manual')
| -rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 6 |
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 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 @@ | |||
| 131 | The <filename>LAYERDIR</filename> variable expands to the directory of the current layer and | 131 | The <filename>LAYERDIR</filename> variable expands to the directory of the current layer and |
| 132 | requires the immediate expansion operator so that BitBake does not wait to expand the variable | 132 | requires the immediate expansion operator so that BitBake does not wait to expand the variable |
| 133 | when it's parsing a different directory.</para> | 133 | when it's parsing a different directory.</para> |
| 134 | <para>Through the use of the <filename>BBPATH</filename> environment variable, | 134 | <para>Through the use of the <filename>BBPATH</filename> variable, |
| 135 | BitBake locates <filename>.bbclass</filename> files, configuration | 135 | BitBake locates <filename>.bbclass</filename> files, configuration |
| 136 | files, and files that are included with <filename>include</filename> | 136 | files, and files that are included with <filename>include</filename> |
| 137 | and <filename>require</filename> statements. | 137 | and <filename>require</filename> statements. |
| @@ -163,7 +163,7 @@ | |||
| 163 | Use <filename>.bbappend</filename> files for each recipe that uses an include | 163 | Use <filename>.bbappend</filename> files for each recipe that uses an include |
| 164 | file. | 164 | file. |
| 165 | Or, if you are introducing a new recipe that requires the inc file, use the | 165 | Or, if you are introducing a new recipe that requires the inc file, use the |
| 166 | full path to refer to the original. | 166 | path relative to the original layer directory to refer to the file. |
| 167 | For example, use <filename>require recipes-core/somepackage/somefile.inc</filename> | 167 | For example, use <filename>require recipes-core/somepackage/somefile.inc</filename> |
| 168 | instead of <filename>require somefile.inc</filename>. | 168 | instead of <filename>require somefile.inc</filename>. |
| 169 | If you're finding you have to overlay the include file, it could indicate a | 169 | If you're finding you have to overlay the include file, it could indicate a |
| @@ -186,7 +186,7 @@ | |||
| 186 | We also recommend the following: | 186 | We also recommend the following: |
| 187 | <itemizedlist> | 187 | <itemizedlist> |
| 188 | <listitem><para>Store custom layers in a Git repository that uses the | 188 | <listitem><para>Store custom layers in a Git repository that uses the |
| 189 | <filename>meta-prvt-XXXX</filename> format.</para></listitem> | 189 | <filename>meta-<layer_name></filename> format.</para></listitem> |
| 190 | <listitem><para>Clone the repository alongside other <filename>meta</filename> | 190 | <listitem><para>Clone the repository alongside other <filename>meta</filename> |
| 191 | directories in the Yocto Project source files area.</para></listitem> | 191 | directories in the Yocto Project source files area.</para></listitem> |
| 192 | </itemizedlist> | 192 | </itemizedlist> |
