summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2016-10-11 07:36:00 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-10-13 23:16:46 +0100
commit551f7d87c9fb6e4652afd6a921c9e4f816ebc2b7 (patch)
tree9c8d1df9b2439ab26e6d93bb8bc997db8035c947 /documentation
parentcbc59866f3b92b71d8542ef975467c2dbb4b2a88 (diff)
downloadpoky-551f7d87c9fb6e4652afd6a921c9e4f816ebc2b7.tar.gz
dev-manual: Applied review comments to "Packaging Externally Produced Binaries"
Fixes [YOCTO #10392] Moved the last bullet item from the list that was about DEPENDS to a note form above the list. This was done because the stuff for DEPENDS is more general. (From yocto-docs rev: 2879d97b14322f1f9495288fc7f2298a186c5f68) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/dev-manual/dev-manual-common-tasks.xml50
1 files changed, 28 insertions, 22 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml
index 33faddcca6..5c7284238d 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -3336,10 +3336,37 @@
3336 <ulink url='&YOCTO_DOCS_REF_URL;#var-D'><filename>D</filename></ulink> 3336 <ulink url='&YOCTO_DOCS_REF_URL;#var-D'><filename>D</filename></ulink>
3337 variables in the Yocto Project Reference Manual's variable 3337 variables in the Yocto Project Reference Manual's variable
3338 glossary. 3338 glossary.
3339 <note><title>Notes</title>
3340 <itemizedlist>
3341 <listitem><para>
3342 Using
3343 <ulink url='&YOCTO_DOCS_REF_URL;#var-DEPENDS'><filename>DEPENDS</filename></ulink>
3344 is a good idea even for components distributed
3345 in binary form, and is often necessary for
3346 shared libraries.
3347 For a shared library, listing the library
3348 dependencies in
3349 <filename>DEPENDS</filename> makes sure that
3350 the libraries are available in the staging
3351 sysroot when other recipes link against the
3352 library, which might be necessary for
3353 successful linking.
3354 </para></listitem>
3355 <listitem><para>
3356 Using <filename>DEPENDS</filename> also
3357 allows runtime dependencies between packages
3358 to be added automatically.
3359 See the
3360 "<ulink url='&YOCTO_DOCS_REF_URL;#automatically-added-runtime-dependencies'>Automatically Added Runtime Dependencies</ulink>"
3361 section in the Yocto Project Reference Manual
3362 for more information.
3363 </para></listitem>
3364 </itemizedlist>
3365 </note>
3339 </para> 3366 </para>
3340 3367
3341 <para> 3368 <para>
3342 If you can't use the <filename>bin_package</filename> 3369 If you cannot use the <filename>bin_package</filename>
3343 class, you need to be sure you are doing the following: 3370 class, you need to be sure you are doing the following:
3344 <itemizedlist> 3371 <itemizedlist>
3345 <listitem><para> 3372 <listitem><para>
@@ -3391,27 +3418,6 @@
3391 and whether those files are in different locations 3418 and whether those files are in different locations
3392 than the defaults. 3419 than the defaults.
3393 </para></listitem> 3420 </para></listitem>
3394 <listitem><para>
3395 Using
3396 <ulink url='&YOCTO_DOCS_REF_URL;#var-DEPENDS'><filename>DEPENDS</filename></ulink>
3397 is a good idea even for components distributed in
3398 binary form, and is often necessary for shared
3399 libraries.
3400 For a shared library, listing the library
3401 dependencies in
3402 <filename>DEPENDS</filename> makes sure that the
3403 libraries are available in the staging sysroot when
3404 other recipes link against the library, which might
3405 be necessary for successful linking.</para>
3406
3407 <para>Using <filename>DEPENDS</filename> also
3408 allows runtime dependencies between packages to be
3409 added automatically.
3410 See the
3411 "<ulink url='&YOCTO_DOCS_REF_URL;#automatically-added-runtime-dependencies'>Automatically Added Runtime Dependencies</ulink>"
3412 section in the Yocto Project Reference Manual for
3413 more information.
3414 </para></listitem>.
3415 </itemizedlist> 3421 </itemizedlist>
3416 </para> 3422 </para>
3417 </section> 3423 </section>