summaryrefslogtreecommitdiffstats
path: root/documentation/poky-ref-manual
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2011-09-26 12:20:07 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-04 13:46:37 +0100
commitbc9951a147dc3d378a60635b70c78315c23ed4d8 (patch)
treea7a3447e884b2b3613226ea2c4dd4103c112a359 /documentation/poky-ref-manual
parent9d66278f9c14d04ce2b0092e4476cead4e1e85cc (diff)
downloadast2050-yocto-poky-bc9951a147dc3d378a60635b70c78315c23ed4d8.zip
ast2050-yocto-poky-bc9951a147dc3d378a60635b70c78315c23ed4d8.tar.gz
documentation/poky-ref-manual/ref-variables.xml: updated RDEPENDS
Per Paul Eggleton's suggestion I updated the description of this variable. Some minor wording changes as well as covering two automatic handling features. (From yocto-docs rev: 15be3502ca20f657051e02d698b459328328fb14) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/poky-ref-manual')
-rw-r--r--documentation/poky-ref-manual/ref-variables.xml22
1 files changed, 20 insertions, 2 deletions
diff --git a/documentation/poky-ref-manual/ref-variables.xml b/documentation/poky-ref-manual/ref-variables.xml
index da1c079..dbc343c 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 <filename>RDEPENDS_${PN}-dev</filename>.
+ output packages, there should always be an override attached
+ to this variable specifying the runtime package to which to add the
+ dependency (e.g. <filename>RDEPENDS_${PN}-dev</filename>).
Names in this field must appear as they appear in the
<filename><link linkend='var-PACKAGES'>PACKAGES</link></filename> namespace before any
renaming of the output package by classes like <filename>debian.bbclass</filename>.
</para>
+ <para>
+ Some automatic handling occurs around the <filename>RDEPENDS</filename>
+ variable:
+ <itemizedlist>
+ <listitem><para><emphasis><filename>shlibdeps</filename></emphasis>: If a runtime
+ package contains a shared library (<filename>.so</filename>), the build
+ processes the library in order to determine other libraries to which it
+ is dynamically linked.
+ The build process adds these libraries to <filename>RDEPENDS</filename>
+ to create the runtime package.</para></listitem>
+ <listitem><para><emphasis><filename>pcdeps</filename></emphasis>: If the package
+ ships a <filename>pkg-config</filename> information file, the build process
+ uses this file to add items to the <filename>RDEPENDS</filename>
+ variable to create the runtime packages.
+ </para></listitem>
+ </itemizedlist>
+ </para>
</glossdef>
</glossentry>
OpenPOWER on IntegriCloud