1PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
2PREFERRED_PROVIDER_virtual/egl ?= "mesa"
3PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
4PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
5PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
6PREFERRED_PROVIDER_virtual/libgles3 ?= "mesa"
7
8XSERVER ?= "xserver-xorg \
9            ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \
10            xf86-video-fbdev \
11            xf86-video-modesetting \
12            "
13
14MACHINE_FEATURES = "alsa bluetooth usbgadget screen vfat"
15
16MACHINEOVERRIDES =. "qemuall:"
17
18IMAGE_FSTYPES += "tar.bz2 ext4"
19
20# Don't include kernels in standard images
21RDEPENDS:${KERNEL_PACKAGE_NAME}-base = ""
22
23# Use a common kernel recipe for all QEMU machines
24PREFERRED_PROVIDER_virtual/kernel ??= "linux-yocto"
25
26# Provide the nfs server kernel module for all qemu images
27KERNEL_FEATURES:append:pn-linux-yocto = " features/nfsd/nfsd-enable.scc"
28KERNEL_FEATURES:append:pn-linux-yocto-rt = " features/nfsd/nfsd-enable.scc"
29
30IMAGE_CLASSES += "qemuboot"
31