From 23bac7cb0e02d02409282b4ae8faa3b7a1fcdfba Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 27 Sep 2011 06:43:13 -0700 Subject: [PATCH] documentation/poky-ref-manual/ref-variables.xml: update PREFERRED_PROVIDER I added sterner wording on usage and provided an example. (From yocto-docs rev: 32e07fafadb602b93c9f7b8a78e5baf4c7e1ab5e) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/poky-ref-manual/ref-variables.xml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/documentation/poky-ref-manual/ref-variables.xml b/documentation/poky-ref-manual/ref-variables.xml index d224ed9978..777a91b81f 100644 --- a/documentation/poky-ref-manual/ref-variables.xml +++ b/documentation/poky-ref-manual/ref-variables.xml @@ -822,10 +822,18 @@ PREFERRED_PROVIDER - If multiple recipes provide an item, this variable + + If multiple recipes provide an item, this variable determines which recipe should be given preference. - The variable should be set to the $PN of the recipe - to which you want to give precedence. + The variable must always be suffixed with the name of the + provided item, and should be set to the + $PN of the recipe + to which you want to give precedence. + Here is an example: + + PREFERRED_PROVIDER_virtual/xserver = "xserver-xf86" + +