mirror of
https://git.yoctoproject.org/poky
synced 2026-02-28 04:19:40 +01:00
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>
31 lines
1.0 KiB
PHP
31 lines
1.0 KiB
PHP
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
|
|
PREFERRED_PROVIDER_virtual/egl ?= "mesa"
|
|
PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
|
|
PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
|
|
PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
|
|
|
|
XSERVER ?= "xserver-xorg \
|
|
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \
|
|
xf86-video-fbdev \
|
|
"
|
|
|
|
MACHINE_FEATURES = "alsa bluetooth usbgadget screen"
|
|
|
|
MACHINEOVERRIDES =. "qemuall:"
|
|
|
|
IMAGE_FSTYPES += "tar.bz2 ext4"
|
|
|
|
# Don't include kernels in standard images
|
|
RDEPENDS_${KERNEL_PACKAGE_NAME}-base = ""
|
|
|
|
# Use a common kernel recipe for all QEMU machines
|
|
PREFERRED_PROVIDER_virtual/kernel ??= "linux-yocto"
|
|
|
|
EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"
|
|
|
|
# Provide the nfs server kernel module for all qemu images
|
|
KERNEL_FEATURES_append_pn-linux-yocto = " features/nfsd/nfsd-enable.scc"
|
|
KERNEL_FEATURES_append_pn-linux-yocto-rt = " features/nfsd/nfsd-enable.scc"
|
|
|
|
IMAGE_CLASSES += "qemuboot"
|