From: Scott Rifenbark Date: Mon, 18 Jul 2016 17:31:29 +0000 (-0700) Subject: ref-manual: Updated RDEPENDS variable description with note. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04c611290c1574ea97c960363b15823c382b2b1f;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 7b1aef08c36..8650efabd9a 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" Thus, the RDEPENDS variable has the ${PN}-dev package name as part of the variable. + + Caution + RDEPENDS_${PN}-dev includes + ${PN} + by default. + This default is set in the BitBake configuration file + (meta/conf/bitbake.conf). + Be careful not to accidentally remove + ${PN} when modifying + RDEPENDS_${PN}-dev. + Use the "+=" operator rather than the "=" operator. +