qemu.inc: Change kernel provider assignment to a weaker one

Currently we have local.conf included before qemu.inc, and ${DISTRO}.conf
after qemu.inc. They both possibly specify their expected kernel providers.
To let other config files override it in real use, this commit changes
kernel provider assignment to ??= .

(From OE-Core rev: 07e06abeb6b7ae5047c4b70818cd8873302e4940)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
He Zhe
2018-05-23 11:31:54 +08:00
committed by Richard Purdie
parent ed87f71d15
commit af5c776a28

View File

@@ -19,7 +19,7 @@ IMAGE_FSTYPES += "tar.bz2 ext4"
RDEPENDS_${KERNEL_PACKAGE_NAME}-base = ""
# Use a common kernel recipe for all QEMU machines
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
PREFERRED_PROVIDER_virtual/kernel ??= "linux-yocto"
EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"