summaryrefslogtreecommitdiffstats
path: root/documentation/poky-ref-manual
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2011-09-27 06:51:38 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-04 14:01:38 +0100
commit38c7a8a0693eb4894b24fd32e43cf8f93fc7333f (patch)
tree881e133aaebfd485a4a485bd472c7f47c2307842 /documentation/poky-ref-manual
parent23bac7cb0e02d02409282b4ae8faa3b7a1fcdfba (diff)
downloadpoky-38c7a8a0693eb4894b24fd32e43cf8f93fc7333f.tar.gz
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 <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/poky-ref-manual')
-rw-r--r--documentation/poky-ref-manual/ref-variables.xml14
1 files changed, 12 insertions, 2 deletions
diff --git a/documentation/poky-ref-manual/ref-variables.xml b/documentation/poky-ref-manual/ref-variables.xml
index 777a91b81f..5d4e5b1ab3 100644
--- a/documentation/poky-ref-manual/ref-variables.xml
+++ b/documentation/poky-ref-manual/ref-variables.xml
@@ -842,8 +842,18 @@
842 <para> 842 <para>
843 If there are multiple versions of recipes available, this 843 If there are multiple versions of recipes available, this
844 variable determines which recipe should be given preference. 844 variable determines which recipe should be given preference.
845 The variable should be set to the <filename>$PV</filename> of the recipe 845 The variable must always be suffixed with the <filename>$PN</filename>
846 to whichy you want to give precedence. 846 for which to select, and should be set to the
847 <filename>$PV</filename> to which you want to give precedence.
848 You can use the "<filename>%</filename>" character as a wildcard
849 to match any number of characters, which can be useful when
850 specifying versions that contain long revision number that could
851 potentially change.
852 Here are two examples:
853 <literallayout class='monospaced'>
854 PREFERRED_VERSION_python = "2.6.6"
855 PREFERRED_VERSION_linux-yocto = "3.0+git%"
856 </literallayout>
847 </para> 857 </para>
848 </glossdef> 858 </glossdef>
849 </glossentry> 859 </glossentry>