blob: aa332fecc2c0c8b7a7bc86956cd9052ec1c969fd [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
22PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
23
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"