<ulink url='&YOCTO_DOCS_REF_URL;#var-D'><filename>D</filename></ulink>
variables in the Yocto Project Reference Manual's variable
glossary.
+ <note><title>Notes</title>
+ <itemizedlist>
+ <listitem><para>
+ Using
+ <ulink url='&YOCTO_DOCS_REF_URL;#var-DEPENDS'><filename>DEPENDS</filename></ulink>
+ is a good idea even for components distributed
+ in binary form, and is often necessary for
+ shared libraries.
+ For a shared library, listing the library
+ dependencies in
+ <filename>DEPENDS</filename> makes sure that
+ the libraries are available in the staging
+ sysroot when other recipes link against the
+ library, which might be necessary for
+ successful linking.
+ </para></listitem>
+ <listitem><para>
+ Using <filename>DEPENDS</filename> also
+ allows runtime dependencies between packages
+ to be added automatically.
+ See the
+ "<ulink url='&YOCTO_DOCS_REF_URL;#automatically-added-runtime-dependencies'>Automatically Added Runtime Dependencies</ulink>"
+ section in the Yocto Project Reference Manual
+ for more information.
+ </para></listitem>
+ </itemizedlist>
+ </note>
</para>
<para>
- If you can't use the <filename>bin_package</filename>
+ If you cannot use the <filename>bin_package</filename>
class, you need to be sure you are doing the following:
<itemizedlist>
<listitem><para>
and whether those files are in different locations
than the defaults.
</para></listitem>
- <listitem><para>
- Using
- <ulink url='&YOCTO_DOCS_REF_URL;#var-DEPENDS'><filename>DEPENDS</filename></ulink>
- is a good idea even for components distributed in
- binary form, and is often necessary for shared
- libraries.
- For a shared library, listing the library
- dependencies in
- <filename>DEPENDS</filename> makes sure that the
- libraries are available in the staging sysroot when
- other recipes link against the library, which might
- be necessary for successful linking.</para>
-
- <para>Using <filename>DEPENDS</filename> also
- allows runtime dependencies between packages to be
- added automatically.
- See the
- "<ulink url='&YOCTO_DOCS_REF_URL;#automatically-added-runtime-dependencies'>Automatically Added Runtime Dependencies</ulink>"
- section in the Yocto Project Reference Manual for
- more information.
- </para></listitem>.
</itemizedlist>
</para>
</section>