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 14:01:38 +0100 |
commit | ed93525e65da7f9b4cf5d0c62ed7c12983d34d36 (patch) | |
tree | 321f2ab1c8b479fa6a8a4f81c326cce759f8d27f /documentation/poky-ref-manual | |
parent | 4025831e90f4d5c388924c7e95c3b26fbfc106c3 (diff) | |
download | poky-ed93525e65da7f9b4cf5d0c62ed7c12983d34d36.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.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 | ||