ref-manual: Updated the PREFERRED_PROVIDER variable with a note.

(From yocto-docs rev: 5d3a3e9ea8670f784f9c06cb244a9d5981bb1e76)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark 2016-04-15 08:09:19 -07:00 committed by Richard Purdie
parent 6d86f7a0a3
commit 6391dbfe48
1 changed files with 11 additions and 0 deletions

View File

@ -9568,6 +9568,17 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
PREFERRED_PROVIDER_virtual/xserver = "xserver-xf86"
PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
</literallayout>
<note>
If you set <filename>PREFERRED_PROVIDER</filename>
for a <filename>virtual/*</filename> item, then any
recipe that
<link linkend='var-PROVIDES'><filename>PROVIDES</filename></link>
that item that is not selected by
<filename>PREFERRED_PROVIDER</filename> is prevented
from building, which is usually desirable since this
mechanism is designed to select between mutually
exclusive alternative providers.
</note>
</para>
</glossdef>
</glossentry>