about virtual variable
zhouyuanqing8 at outlook.com
zhouyuanqing8 at outlook.com
Mon Jun 22 22:48:42 AEST 2020
Hi everyone,
I would like to ask, is virtual a variable defined by bitbake? I did not find it in the bitbake manual. What is the use of the virtual variable? What would be the problem without this variable?
2.4. Preferences¶<https://www.yoctoproject.org/docs/latest/bitbake-user-manual/bitbake-user-manual.html#bb-bitbake-preferences>
The PROVIDES list is only part of the solution for figuring out a target's recipes. Because targets might have multiple providers, BitBake needs to prioritize providers by determining provider preferences.
A common example in which a target has multiple providers is "virtual/kernel", which is on the PROVIDES list for each kernel recipe. Each machine often selects the best kernel provider by using a line similar to the following in the machine configuration file:
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200622/eb058285/attachment.htm>
More information about the openbmc
mailing list