blob: 7d0a6fe458ee24b01513906140c0f2641d4f37d2 [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
Brad Bishop316dfdd2018-06-25 12:45:53 -040019RDEPENDS_${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 Geisslerd1e89492021-02-12 15:35:20 -060024EXTRA_IMAGEDEPENDS += "qemu-system-native qemu-helper-native"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050025
26# Provide the nfs server kernel module for all qemu images
27KERNEL_FEATURES_append_pn-linux-yocto = " features/nfsd/nfsd-enable.scc"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050028KERNEL_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"