From ace3fe02d1888cc60e78283a683246ee7bf4d18f Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 31 May 2018 09:58:18 -0700 Subject: sdk-manual: Edits to "Dependency Detection and Mapping" Updated various prose for better understanding. (From yocto-docs rev: 13d5330dc5de232311fbb43d5041d0f7f11de6c0) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/sdk-manual/sdk-extensible.xml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'documentation') diff --git a/documentation/sdk-manual/sdk-extensible.xml b/documentation/sdk-manual/sdk-extensible.xml index 01dd76f1da..2c4b5b99d7 100644 --- a/documentation/sdk-manual/sdk-extensible.xml +++ b/documentation/sdk-manual/sdk-extensible.xml @@ -1114,26 +1114,27 @@ detect build-time dependencies and map them to other recipes in the system. During this mapping, the command fills in the names of those - recipes in the + recipes as part of the DEPENDS - value within the recipe. - If a dependency cannot be mapped, then a comment is placed in - the recipe indicating such. - The inability to map a dependency might be caused because the - naming is not recognized or because the dependency simply is - not available. + variable within the recipe. + If a dependency cannot be mapped, devtool + places a comment in the recipe indicating such. + The inability to map a dependency can result from naming not + being recognized or because the dependency simply is not + available. For cases where the dependency is not available, you must use the devtool add command to add an - additional recipe to satisfy the dependency and then come - back to the first recipe and add its name to - DEPENDS. + additional recipe that satisfies the dependency. + Once you add that recipe, you need to update the + DEPENDS variable in the original recipe + to include the new recipe. If you need to add runtime dependencies, you can do so by adding the following to your recipe: - RDEPENDS_${PN} += "dependency1 dependency2 ..." + RDEPENDS_${PN} += "dependency1 dependency2 ..." The devtool add command often cannot @@ -1144,7 +1145,7 @@ script for the software the recipe is building for further details. In some cases, you might find you can substitute the - dependency for an option to disable the associated + dependency with an option that disables the associated functionality passed to the configure script. -- cgit v1.2.3-54-g00ecf