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. - .