All of lore.kernel.org
 help / color / mirror / Atom feed
* about virtual variable
@ 2020-06-22 12:48 zhouyuanqing8
  2020-06-22 13:43 ` Adrian Ambrożewicz
  0 siblings, 1 reply; 4+ messages in thread
From: zhouyuanqing8 @ 2020-06-22 12:48 UTC (permalink / raw)
  To: openbmc; +Cc: uperic@163.com

[-- Attachment #1: Type: text/plain, Size: 878 bytes --]

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"


[-- Attachment #2: Type: text/html, Size: 2918 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-07-13  7:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-22 12:48 about virtual variable zhouyuanqing8
2020-06-22 13:43 ` Adrian Ambrożewicz
2020-06-22 13:55   ` Adrian Ambrożewicz
2020-07-13  7:50     ` 回复: " 周 远清

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.