summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2016-07-16 11:52:37 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-19 15:04:52 +0100
commit451334a841971ee21bce705a4bae4506b5444fde (patch)
treed59579d40d583a02b3ff0dccee50ab43c1623145 /documentation/ref-manual
parentbdf9003cfbbd2c101d047299ee38161ab07f7be4 (diff)
downloadpoky-451334a841971ee21bce705a4bae4506b5444fde.tar.gz
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 <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r--documentation/ref-manual/ref-variables.xml28
1 files 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 @@
2806 <filename>DEPENDS</filename> does not make 2806 <filename>DEPENDS</filename> does not make
2807 sense. 2807 sense.
2808 Use "foo" instead, as this will put files 2808 Use "foo" instead, as this will put files
2809 from all the packages that make up "foo" - 2809 from all the packages that make up
2810 including those from "foo-dev" - into the 2810 <filename>foo</filename>, which includes
2811 sysroot. 2811 those from <filename>foo-dev</filename>, into
2812 the sysroot.
2812 </para></listitem> 2813 </para></listitem>
2813 <listitem><para> 2814 <listitem><para>
2814 Counter intuitively, 2815 Counterintuitively,
2815 <filename>DEPENDS</filename> is often necessary 2816 <filename>DEPENDS</filename> is often necessary
2816 even for recipes that install precompiled 2817 even for recipes that install precompiled
2817 components. 2818 components.
2818 For example, if "libfoo" is a precompiled 2819 For example, if <filename>libfoo</filename>
2819 library that links against "libbar", then 2820 is a precompiled library that links against
2820 linking against "libfoo" requires both "libfoo" 2821 <filename>libbar</filename>, then
2821 and "libbar" to be available in the sysroot. 2822 linking against <filename>libfoo</filename>
2823 requires both <filename>libfoo</filename>
2824 and <filename>libbar</filename> to be available
2825 in the sysroot.
2822 Without a <filename>DEPENDS</filename> from the 2826 Without a <filename>DEPENDS</filename> from the
2823 recipe that installs "libfoo" to the recipe 2827 recipe that installs <filename>libfoo</filename>
2824 that installs "libbar", other recipes might 2828 to the recipe that installs
2825 fail to link against "libfoo". 2829 <filename>libbar</filename>, other recipes might
2830 fail to link against
2831 <filename>libfoo</filename>.
2826 </para></listitem> 2832 </para></listitem>
2827 </itemizedlist> 2833 </itemizedlist>
2828 </note> 2834 </note>