Convert to new override syntax
[AGL/meta-agl.git] / meta-agl-bsp / conf / machine / include / virtio.inc
1 PREFERRED_PROVIDER_virtual/egl ?= "mesa"
2 PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
3 PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
4 PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
5
6 MACHINE_FEATURES = "alsa usbgadget screen vfat"
7
8 MACHINEOVERRIDES =. "virtio-all:"
9
10 IMAGE_FSTYPES += "tar.bz2 ext4"
11
12 # Don't include kernels in standard images
13 RDEPENDS:${KERNEL_PACKAGE_NAME}-base = ""
14
15 # Use a common kernel recipe for all VirtIO machines
16 PREFERRED_PROVIDER_virtual/kernel ??= "linux-yocto"
17
18 # Use newer kernel
19 PREFERRED_VERSION_linux-yocto = "5.10.%"
20
21 # Clear since it is set to 'sllin' in packagegroup-agl-demo.bb, and sllin is not
22 # compatible with kernel 5.10 at the moment.
23 LIN_DRIVERS = ""
24
25 # Clear since it is set to 'lttng-modules' in packagegroup-core-tools-profile.bb,
26 # and lttng-modules are not compatible with 5.10 kernel used for virtio.
27 LTTNGMODULES:virtio-all = ""
28
29 EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"
30
31 IMAGE_CLASSES += "qemuboot"
32
33 # most driver fails to compile
34 MOST_DRIVERS ?= ""