]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
ref-manual: Updated PREFERRED_VERSION variable description
authorScott Rifenbark <srifenbark@gmail.com>
Fri, 1 Apr 2016 17:14:25 +0000 (10:14 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Apr 2016 22:11:57 +0000 (23:11 +0100)
Fixes [YOCTO #8595]

Added some examples on how to force the version.

(From yocto-docs rev: 4a98ce1ed623cd9763731453316f2ff8d8b8b82a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
documentation/ref-manual/ref-variables.xml

index ad87a6331269fefb98ed13524318cb559c4e1125..45015a40960274f95de4bb4e930016d1a7a6c0f5 100644 (file)
@@ -9589,6 +9589,15 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
      PREFERRED_VERSION_python = "2.7.3"
      PREFERRED_VERSION_linux-yocto = "3.19%"
                     </literallayout>
+                    If you want to force a particular version of a recipe,
+                    you can use "forcevariable" as follows:
+                    <literallayout class='monospaced'>
+     PREFERRED_VERSION_linux-yocto_forcevariable = "3.4%"
+                    </literallayout>
+                    Another method is to use a machine override:
+                    <literallayout class='monospaced'>
+     PREFERRED_VERSION_linux-yocto_qemux86 = "3.4%"
+                    </literallayout>
                 </para>
             </glossdef>
         </glossentry>