From 551f7d87c9fb6e4652afd6a921c9e4f816ebc2b7 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 11 Oct 2016 07:36:00 -0700 Subject: 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 Signed-off-by: Richard Purdie --- .../dev-manual/dev-manual-common-tasks.xml | 50 ++++++++++++---------- 1 file changed, 28 insertions(+), 22 deletions(-) (limited to 'documentation') 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 @@ D variables in the Yocto Project Reference Manual's variable glossary. + Notes + + + Using + DEPENDS + 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 + DEPENDS 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. + + + Using DEPENDS also + allows runtime dependencies between packages + to be added automatically. + See the + "Automatically Added Runtime Dependencies" + section in the Yocto Project Reference Manual + for more information. + + + - If you can't use the bin_package + If you cannot use the bin_package class, you need to be sure you are doing the following: @@ -3391,27 +3418,6 @@ and whether those files are in different locations than the defaults. - - Using - DEPENDS - 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 - DEPENDS 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. - - Using DEPENDS also - allows runtime dependencies between packages to be - added automatically. - See the - "Automatically Added Runtime Dependencies" - section in the Yocto Project Reference Manual for - more information. - . -- cgit v1.2.3-54-g00ecf