From 451334a841971ee21bce705a4bae4506b5444fde Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Sat, 16 Jul 2016 11:52:37 -0700 Subject: [PATCH] ref-manual: Applied review changes to the DEPENDS variable. Updated the note with some formatting and grammar changes. Fixes [YOCTO #9933] (From yocto-docs rev: afef28ae894c313f85ddbaeef8b0abbc2700ba2c) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 28 +++++++++++++--------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 6e6eb22d86..7b1aef08c3 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -2806,23 +2806,29 @@ DEPENDS does not make sense. Use "foo" instead, as this will put files - from all the packages that make up "foo" - - including those from "foo-dev" - into the - sysroot. + from all the packages that make up + foo, which includes + those from foo-dev, into + the sysroot. - Counter intuitively, + Counterintuitively, DEPENDS is often necessary even for recipes that install precompiled components. - For example, if "libfoo" is a precompiled - library that links against "libbar", then - linking against "libfoo" requires both "libfoo" - and "libbar" to be available in the sysroot. + For example, if libfoo + is a precompiled library that links against + libbar, then + linking against libfoo + requires both libfoo + and libbar to be available + in the sysroot. Without a DEPENDS from the - recipe that installs "libfoo" to the recipe - that installs "libbar", other recipes might - fail to link against "libfoo". + recipe that installs libfoo + to the recipe that installs + libbar, other recipes might + fail to link against + libfoo.