diff --git a/documentation/poky-ref-manual/ref-variables.xml b/documentation/poky-ref-manual/ref-variables.xml index da1c079777..dbc343c8fb 100644 --- a/documentation/poky-ref-manual/ref-variables.xml +++ b/documentation/poky-ref-manual/ref-variables.xml @@ -888,12 +888,30 @@ This enables the package to run correctly. For example, consider a Perl script, which depends on the Perl package. Since this variable applies to - output packages, there would usually be an override attached - to this variable such as RDEPENDS_${PN}-dev. + output packages, there should always be an override attached + to this variable specifying the runtime package to which to add the + dependency (e.g. RDEPENDS_${PN}-dev). Names in this field must appear as they appear in the PACKAGES namespace before any renaming of the output package by classes like debian.bbclass. + + Some automatic handling occurs around the RDEPENDS + variable: + + shlibdeps: If a runtime + package contains a shared library (.so), the build + processes the library in order to determine other libraries to which it + is dynamically linked. + The build process adds these libraries to RDEPENDS + to create the runtime package. + pcdeps: If the package + ships a pkg-config information file, the build process + uses this file to add items to the RDEPENDS + variable to create the runtime packages. + + +