diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2011-09-26 12:20:07 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-04 13:46:37 +0100 |
commit | bc9951a147dc3d378a60635b70c78315c23ed4d8 (patch) | |
tree | a7a3447e884b2b3613226ea2c4dd4103c112a359 /documentation | |
parent | 9d66278f9c14d04ce2b0092e4476cead4e1e85cc (diff) | |
download | 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')
-rw-r--r-- | documentation/poky-ref-manual/ref-variables.xml | 22 |
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 da1c079777..dbc343c8fb 100644 --- a/documentation/poky-ref-manual/ref-variables.xml +++ b/documentation/poky-ref-manual/ref-variables.xml | |||
@@ -888,12 +888,30 @@ | |||
888 | This enables the package to run correctly. | 888 | This enables the package to run correctly. |
889 | For example, consider a Perl script, which depends on the Perl package. | 889 | For example, consider a Perl script, which depends on the Perl package. |
890 | Since this variable applies to | 890 | Since this variable applies to |
891 | output packages, there would usually be an override attached | 891 | output packages, there should always be an override attached |
892 | to this variable such as <filename>RDEPENDS_${PN}-dev</filename>. | 892 | to this variable specifying the runtime package to which to add the |
893 | dependency (e.g. <filename>RDEPENDS_${PN}-dev</filename>). | ||
893 | Names in this field must appear as they appear in the | 894 | Names in this field must appear as they appear in the |
894 | <filename><link linkend='var-PACKAGES'>PACKAGES</link></filename> namespace before any | 895 | <filename><link linkend='var-PACKAGES'>PACKAGES</link></filename> namespace before any |
895 | renaming of the output package by classes like <filename>debian.bbclass</filename>. | 896 | renaming of the output package by classes like <filename>debian.bbclass</filename>. |
896 | </para> | 897 | </para> |
898 | <para> | ||
899 | Some automatic handling occurs around the <filename>RDEPENDS</filename> | ||
900 | variable: | ||
901 | <itemizedlist> | ||
902 | <listitem><para><emphasis><filename>shlibdeps</filename></emphasis>: If a runtime | ||
903 | package contains a shared library (<filename>.so</filename>), the build | ||
904 | processes the library in order to determine other libraries to which it | ||
905 | is dynamically linked. | ||
906 | The build process adds these libraries to <filename>RDEPENDS</filename> | ||
907 | to create the runtime package.</para></listitem> | ||
908 | <listitem><para><emphasis><filename>pcdeps</filename></emphasis>: If the package | ||
909 | ships a <filename>pkg-config</filename> information file, the build process | ||
910 | uses this file to add items to the <filename>RDEPENDS</filename> | ||
911 | variable to create the runtime packages. | ||
912 | </para></listitem> | ||
913 | </itemizedlist> | ||
914 | </para> | ||
897 | </glossdef> | 915 | </glossdef> |
898 | </glossentry> | 916 | </glossentry> |
899 | 917 | ||