From 6294f174d9e837f174653903fda2f4f9e3199705 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 12 Sep 2013 16:41:53 -0700 Subject: [PATCH] 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 --- documentation/dev-manual/dev-manual-common-tasks.xml | 12 ++++++------ 1 file 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 @@ 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