blob: 5050e41066e12e084b89d45e5f2aa3b7b742c2bd [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
12MACHINE_FEATURES = "alsa bluetooth usbgadget screen"
13
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
24EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"
25
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"