blob: 642c322abcb9ca2747db7e973b913e79a85b1fcc [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001PREFERRED_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"
6
7XSERVER ?= "xserver-xorg \
Patrick Williamsf1e5d692016-03-30 15:21:19 -05008 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \
Patrick Williamsc124f4f2015-09-15 14:41:29 -05009 xf86-video-fbdev \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050010 "
Patrick Williamsc124f4f2015-09-15 14:41:29 -050011
Andrew Geissler82c905d2020-04-13 13:39:40 -050012MACHINE_FEATURES = "alsa bluetooth usbgadget screen vfat"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050013
14MACHINEOVERRIDES =. "qemuall:"
15
16IMAGE_FSTYPES += "tar.bz2 ext4"
17
18# Don't include kernels in standard images
Patrick Williams213cb262021-08-07 19:21:33 -050019RDEPENDS:${KERNEL_PACKAGE_NAME}-base = ""
Patrick Williamsc124f4f2015-09-15 14:41:29 -050020
21# Use a common kernel recipe for all QEMU machines
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080022PREFERRED_PROVIDER_virtual/kernel ??= "linux-yocto"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050023
Andrew Geissler5199d832021-09-24 16:47:35 -050024EXTRA_IMAGEDEPENDS += "qemu-system-native qemu-helper-native:do_addto_recipe_sysroot"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050025
26# Provide the nfs server kernel module for all qemu images
Patrick Williams213cb262021-08-07 19:21:33 -050027KERNEL_FEATURES:append:pn-linux-yocto = " features/nfsd/nfsd-enable.scc"
28KERNEL_FEATURES:append:pn-linux-yocto-rt = " features/nfsd/nfsd-enable.scc"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050029
Patrick Williamsc0f7c042017-02-23 20:41:17 -060030IMAGE_CLASSES += "qemuboot"