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>
This commit is contained in:
Scott Rifenbark 2016-07-18 10:31:29 -07:00 committed by Richard Purdie
parent 818e439cf5
commit 04c611290c
1 changed files with 12 additions and 0 deletions

View File

@ -10178,6 +10178,18 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
Thus, the <filename>RDEPENDS</filename> variable has the
<filename>${PN}-dev</filename> package name as part of the
variable.
<note>
<title>Caution</title>
<filename>RDEPENDS_${PN}-dev</filename> includes
<filename>${</filename><link linkend='var-PN'><filename>PN</filename></link><filename>}</filename>
by default.
This default is set in the BitBake configuration file
(<filename>meta/conf/bitbake.conf</filename>).
Be careful not to accidentally remove
<filename>${PN}</filename> when modifying
<filename>RDEPENDS_${PN}-dev</filename>.
Use the "+=" operator rather than the "=" operator.
</note>
</para>
<para>