base.bbclass: do not expand PREFERRED_PROVIDER for kernel recipe
With Richard's commit f9c36392
, we only build one kernel for a system,
thus we shouldn't extend PREFERRED_PROVIDER for virtual/kernel.
[YOCTO #1471]
(From OE-Core rev: 90ad70fe13a9f8409387ca70289998bdca649aeb)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
aa203e4605
commit
3117530f44
|
@ -181,8 +181,10 @@ def preferred_ml_updates(d):
|
|||
virt = "virtual/"
|
||||
for p in prefixes:
|
||||
newname = "PREFERRED_PROVIDER_" + virt + p + "-" + pkg
|
||||
if pkg != "kernel":
|
||||
val = p + "-" + val
|
||||
if not d.getVar(newname, False):
|
||||
d.setVar(newname, p + "-" + val)
|
||||
d.setVar(newname, val)
|
||||
|
||||
|
||||
mp = (d.getVar("MULTI_PROVIDER_WHITELIST", True) or "").split()
|
||||
|
|
Loading…
Reference in New Issue