From: Scott Rifenbark Date: Tue, 27 Sep 2011 13:51:38 +0000 (-0700) Subject: documentation/poky-ref-manual/ref-variables.xml: update PREFERRED_VERSION X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=435e0ac61153724651ca9bf9585a104ebdb42585;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git documentation/poky-ref-manual/ref-variables.xml: update PREFERRED_VERSION Added a more robust description and provided a couple of usage examples. (From yocto-docs rev: b8b842b57cc003f1351a551041fe4b3de2fcbfd6) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- diff --git a/documentation/poky-ref-manual/ref-variables.xml b/documentation/poky-ref-manual/ref-variables.xml index 777a91b81f5..5d4e5b1ab30 100644 --- a/documentation/poky-ref-manual/ref-variables.xml +++ b/documentation/poky-ref-manual/ref-variables.xml @@ -842,8 +842,18 @@ If there are multiple versions of recipes available, this variable determines which recipe should be given preference. - The variable should be set to the $PV of the recipe - to whichy you want to give precedence. + The variable must always be suffixed with the $PN + for which to select, and should be set to the + $PV to which you want to give precedence. + You can use the "%" character as a wildcard + to match any number of characters, which can be useful when + specifying versions that contain long revision number that could + potentially change. + Here are two examples: + + PREFERRED_VERSION_python = "2.6.6" + PREFERRED_VERSION_linux-yocto = "3.0+git%" +