diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2013-09-12 16:41:53 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-22 12:20:42 +0100 |
commit | 6294f174d9e837f174653903fda2f4f9e3199705 (patch) | |
tree | b097c52b6d569576dd3a6df7f4322318105c35e1 /documentation/dev-manual | |
parent | 6bf4106edda1e457a94ccf6b508127c1a6b36277 (diff) | |
download | poky-6294f174d9e837f174653903fda2f4f9e3199705.tar.gz |
dev-manual: Updated the "Best Practices" section.
Fixes [YOCTO #5037]
Applied some review changes from Martin.
(From yocto-docs rev: e87a65a9b198bccb7f2716bbbbc9194c53d1a79a)
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 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index a4d837216e..afd8e49c14 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
@@ -303,11 +303,11 @@ | |||
303 | for building machine "one". | 303 | for building machine "one". |
304 | To do so, you use an append file named | 304 | To do so, you use an append file named |
305 | <filename>base-files.bbappend</filename> and | 305 | <filename>base-files.bbappend</filename> and |
306 | create a dependency on a file named | 306 | create a dependency on "foo" by altering the |
307 | <filename>foo</filename> that contains the | 307 | <ulink url='&YOCTO_DOCS_REF_URL;#var-DEPENDS'><filename>DEPENDS</filename></ulink> |
308 | altered variables: | 308 | variable: |
309 | <literallayout class='monospaced'> | 309 | <literallayout class='monospaced'> |
310 | <ulink url='&YOCTO_DOCS_REF_URL;#var-DEPENDS'><filename>DEPENDS</filename></ulink> = "foo" | 310 | DEPENDS = "foo" |
311 | </literallayout> | 311 | </literallayout> |
312 | The dependency is created during any build that | 312 | The dependency is created during any build that |
313 | includes the layer | 313 | includes the layer |
@@ -330,7 +330,7 @@ | |||
330 | </literallayout> | 330 | </literallayout> |
331 | You should follow the same strategy when using | 331 | You should follow the same strategy when using |
332 | <filename>_append</filename> and | 332 | <filename>_append</filename> and |
333 | <filename>_prepend</filename> overrides: | 333 | <filename>_prepend</filename> operations: |
334 | <literallayout class='monospaced'> | 334 | <literallayout class='monospaced'> |
335 | DEPENDS_append_one = " foo" | 335 | DEPENDS_append_one = " foo" |
336 | DEPENDS_prepend_one = "foo " | 336 | DEPENDS_prepend_one = "foo " |
@@ -339,7 +339,7 @@ | |||
339 | Avoiding "+=" and "=+" and using | 339 | Avoiding "+=" and "=+" and using |
340 | machine-specific | 340 | machine-specific |
341 | <filename>_append</filename> | 341 | <filename>_append</filename> |
342 | and <filename>_prepend</filename> overrides | 342 | and <filename>_prepend</filename> operations |
343 | is recommended as well. | 343 | is recommended as well. |
344 | </note></para></listitem> | 344 | </note></para></listitem> |
345 | <listitem><para><emphasis>Place Machine-Specific Files | 345 | <listitem><para><emphasis>Place Machine-Specific Files |