diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 2e3ae56b3c..e12058d796 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -3095,20 +3095,25 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
- The names of the variables you list with
+ The names of the packages you list within
RDEPENDS must be the names of other
- packages as listed in the
+ packages - they cannot be recipe names.
+
+ Although package names and recipe names usually match,
+ the important point here is that you are
+ providing package names within the
+ RDEPENDS variable.
+
+ For an example of the default list of packages created from
+ a recipe, see the
PACKAGES
variable.
- You should not list recipe names
- (PN).
Because the RDEPENDS variable applies
- to packages being built, you should
- always attach a package name to the variable to specify the
- particular run-time package that has the dependency.
+ to packages being built, you should always use the variable
+ in a form with an attached package name.
For example, suppose you are building a development package
that depends on the perl package.
In this case, you would use the following
@@ -3116,17 +3121,28 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
RDEPENDS_${PN}-dev += "perl"
- In the example, the package name
- (${PN}-dev) must appear as it would
- in the
+ In the example, the development package depends on
+ the perl package.
+ Thus, the RDEPENDS variable has the
+ ${PN}-dev package name as part of the
+ variable.
+
+
+
+ If the package with the dependency is one of the default
+ packages as listed in the
PACKAGES
+ variable, the package name you attach to the
+ RDEPENDS variable must appear
+ as it would in the PACKAGES
namespace before any renaming of the output package by
classes like debian.bbclass.
- In many cases you do not need to explicitly add dependencies
- to RDEPENDS since some automatic
+ In many cases you do not need to explicitly add
+ run-time dependencies using
+ RDEPENDS since some automatic
handling occurs:
shlibdeps: If