]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
documentation/poky-ref-manual/ref-variables.xml: update PREFERRED_VERSION
authorScott Rifenbark <scott.m.rifenbark@intel.com>
Tue, 27 Sep 2011 13:51:38 +0000 (06:51 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 4 Oct 2011 12:46:39 +0000 (13:46 +0100)
Added a more robust description and provided a couple of usage
examples.

(From yocto-docs rev: b8b842b57cc003f1351a551041fe4b3de2fcbfd6)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
documentation/poky-ref-manual/ref-variables.xml

index 777a91b81f5878fb1c138683db9d10030eef2ce1..5d4e5b1ab302e0f8f6999cc2971433311f9c142c 100644 (file)
                 <para>
                     If there are multiple versions of recipes available, this
                     variable determines which recipe should be given preference.
-                    The variable should be set to the <filename>$PV</filename> of the recipe 
-                    to whichy you want to give precedence.
+                    The variable must always be suffixed with the <filename>$PN</filename> 
+                    for which to select, and should be set to the 
+                    <filename>$PV</filename> to which you want to give precedence.
+                    You can use the "<filename>%</filename>" 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:
+                    <literallayout class='monospaced'>
+     PREFERRED_VERSION_python = "2.6.6"
+     PREFERRED_VERSION_linux-yocto = "3.0+git%" 
+                    </literallayout>
                 </para>
             </glossdef>
         </glossentry>