diff options
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 | ||