Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" |
| 2 | PREFERRED_PROVIDER_virtual/egl ?= "mesa" |
| 3 | PREFERRED_PROVIDER_virtual/libgl ?= "mesa" |
| 4 | PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa" |
| 5 | PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa" |
| 6 | |
| 7 | XSERVER ?= "xserver-xorg \ |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 8 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 9 | xf86-video-fbdev \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 10 | " |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 11 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 12 | MACHINE_FEATURES = "alsa bluetooth usbgadget screen vfat" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 13 | |
| 14 | MACHINEOVERRIDES =. "qemuall:" |
| 15 | |
| 16 | IMAGE_FSTYPES += "tar.bz2 ext4" |
| 17 | |
| 18 | # Don't include kernels in standard images |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 19 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base = "" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 20 | |
| 21 | # Use a common kernel recipe for all QEMU machines |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 22 | PREFERRED_PROVIDER_virtual/kernel ??= "linux-yocto" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 23 | |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame^] | 24 | EXTRA_IMAGEDEPENDS += "qemu-system-native qemu-helper-native" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 25 | |
| 26 | # Provide the nfs server kernel module for all qemu images |
| 27 | KERNEL_FEATURES_append_pn-linux-yocto = " features/nfsd/nfsd-enable.scc" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 28 | KERNEL_FEATURES_append_pn-linux-yocto-rt = " features/nfsd/nfsd-enable.scc" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 29 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 30 | IMAGE_CLASSES += "qemuboot" |