]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
dev-manual: Updated the "Best Practices" section.
authorScott Rifenbark <scott.m.rifenbark@intel.com>
Thu, 12 Sep 2013 23:41:53 +0000 (16:41 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 22 Sep 2013 11:20:42 +0000 (12:20 +0100)
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>
documentation/dev-manual/dev-manual-common-tasks.xml

index a4d837216eedb8705da759f2f9801967a8a417b0..afd8e49c14b75ab974d12d6ddb7f6938de20fb6b 100644 (file)
                             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 
                             </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 "
                                 Avoiding "+=" and "=+" and using 
                                 machine-specific 
                                 <filename>_append</filename>
-                                and <filename>_prepend</filename> override
+                                and <filename>_prepend</filename> operation
                                 is recommended as well.
                             </note></para></listitem>
                         <listitem><para><emphasis>Place Machine-Specific Files