From 04c611290c1574ea97c960363b15823c382b2b1f Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 18 Jul 2016 10:31:29 -0700 Subject: [PATCH] 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 --- documentation/ref-manual/ref-variables.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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" 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. +