From: Scott Rifenbark Date: Thu, 12 Sep 2013 23:41:53 +0000 (-0700) Subject: dev-manual: Updated the "Best Practices" section. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6294f174d9e837f174653903fda2f4f9e3199705;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index a4d837216ee..afd8e49c14b 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 base-files.bbappend and - create a dependency on a file named - foo that contains the - altered variables: + create a dependency on "foo" by altering the + DEPENDS + variable: - DEPENDS = "foo" + DEPENDS = "foo" The dependency is created during any build that includes the layer @@ -330,7 +330,7 @@ You should follow the same strategy when using _append and - _prepend overrides: + _prepend operations: DEPENDS_append_one = " foo" DEPENDS_prepend_one = "foo " @@ -339,7 +339,7 @@ Avoiding "+=" and "=+" and using machine-specific _append - and _prepend overrides + and _prepend operations is recommended as well. Place Machine-Specific Files