From f8d31147460e147696b27674a8a567dc321f6965 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 26 Jun 2014 14:29:07 +0300 Subject: ref-manual: Edits to PROVIDES variable. More detail added. (From yocto-docs rev: 84177a600f84af4cc41b9493b46e2a23bc7ccc19) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 36 ++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 12 deletions(-) (limited to 'documentation/ref-manual/ref-variables.xml') diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 59d7c0acbc..c34188defb 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -6424,19 +6424,31 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" - PROVIDES - + PROVIDES + + + A list of aliases by which a particular recipe can be + known. + By default, a recipe's own + PN + is implicitly already in its PROVIDES + list. + If a recipe uses PROVIDES, the + additional aliases are synonyms for the recipe and can + be useful satisfying dependencies of other recipes during + the build as specified by + DEPENDS. + + - A list of aliases that a recipe also provides. - These aliases are useful for satisfying dependencies of - other recipes during the build (as specified by - DEPENDS). - - A recipe's own - PN - is implicitly already in its - PROVIDES list. - + Consider the following example + PROVIDES statement from a recipe + file libav_0.8.11.bb: + + PROVIDES += "libpostproc" + + The PROVIDES statement results in + the "libav" recipe also being known as "libpostproc". -- cgit v1.2.3-54-g00ecf