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