summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2013-09-12 16:41:53 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-22 12:20:42 +0100
commit6294f174d9e837f174653903fda2f4f9e3199705 (patch)
treeb097c52b6d569576dd3a6df7f4322318105c35e1 /documentation
parent6bf4106edda1e457a94ccf6b508127c1a6b36277 (diff)
downloadast2050-yocto-poky-6294f174d9e837f174653903fda2f4f9e3199705.zip
ast2050-yocto-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')
-rw-r--r--documentation/dev-manual/dev-manual-common-tasks.xml12
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 a4d8372..afd8e49 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -303,11 +303,11 @@
for building machine "one".
To do so, you use an append file named
<filename>base-files.bbappend</filename> and
- create a dependency on a file named
- <filename>foo</filename> that contains the
- altered variables:
+ create a dependency on "foo" by altering the
+ <ulink url='&YOCTO_DOCS_REF_URL;#var-DEPENDS'><filename>DEPENDS</filename></ulink>
+ variable:
<literallayout class='monospaced'>
- <ulink url='&YOCTO_DOCS_REF_URL;#var-DEPENDS'><filename>DEPENDS</filename></ulink> = "foo"
+ DEPENDS = "foo"
</literallayout>
The dependency is created during any build that
includes the layer
@@ -330,7 +330,7 @@
</literallayout>
You should follow the same strategy when using
<filename>_append</filename> and
- <filename>_prepend</filename> overrides:
+ <filename>_prepend</filename> operations:
<literallayout class='monospaced'>
DEPENDS_append_one = " foo"
DEPENDS_prepend_one = "foo "
@@ -339,7 +339,7 @@
Avoiding "+=" and "=+" and using
machine-specific
<filename>_append</filename>
- and <filename>_prepend</filename> overrides
+ and <filename>_prepend</filename> operations
is recommended as well.
</note></para></listitem>
<listitem><para><emphasis>Place Machine-Specific Files
OpenPOWER on IntegriCloud