summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2016-07-18 10:31:29 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-01 12:14:59 +0100
commit04c611290c1574ea97c960363b15823c382b2b1f (patch)
tree316b7db64f2cc7eaa5748bddc4f990da81e0165e /documentation
parent818e439cf5d23a3b0a2b89cd79acfa97929d983b (diff)
downloadpoky-04c611290c1574ea97c960363b15823c382b2b1f.tar.gz
ref-manual: Updated RDEPENDS variable description with note.
Fixes [YOCTO #9963] I created a new cautionary note to warn the user to use the correct operator "+=" rather than "=" so that they do not destroy $PN. (From yocto-docs rev: e6861ffe9400b1ee48cc46ccfc6e8d65efbbec8c) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/ref-variables.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 7b1aef08c3..8650efabd9 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -10178,6 +10178,18 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
10178 Thus, the <filename>RDEPENDS</filename> variable has the 10178 Thus, the <filename>RDEPENDS</filename> variable has the
10179 <filename>${PN}-dev</filename> package name as part of the 10179 <filename>${PN}-dev</filename> package name as part of the
10180 variable. 10180 variable.
10181 <note>
10182 <title>Caution</title>
10183 <filename>RDEPENDS_${PN}-dev</filename> includes
10184 <filename>${</filename><link linkend='var-PN'><filename>PN</filename></link><filename>}</filename>
10185 by default.
10186 This default is set in the BitBake configuration file
10187 (<filename>meta/conf/bitbake.conf</filename>).
10188 Be careful not to accidentally remove
10189 <filename>${PN}</filename> when modifying
10190 <filename>RDEPENDS_${PN}-dev</filename>.
10191 Use the "+=" operator rather than the "=" operator.
10192 </note>
10181 </para> 10193 </para>
10182 10194
10183 <para> 10195 <para>