M7350/oe-core/meta/conf/machine/include/qemu.inc

30 lines
958 B
PHP
Raw Normal View History

2024-09-09 08:57:42 +00:00
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
PREFERRED_PROVIDER_virtual/egl ?= "mesa"
PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
XSERVER ?= "xserver-xorg \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast', '', d)} \
xf86-input-evdev \
xf86-input-mouse \
xf86-video-fbdev \
xf86-input-keyboard"
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
MACHINE_FEATURES = "alsa bluetooth usbgadget screen"
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
MACHINEOVERRIDES =. "qemuall:"
IMAGE_FSTYPES += "tar.bz2 ext4"
2024-09-09 08:52:07 +00:00
# Don't include kernels in standard images
RDEPENDS_kernel-base = ""
# Use a common kernel recipe for all QEMU machines
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"
2024-09-09 08:57:42 +00:00
# Provide the nfs server kernel module for all qemu images
KERNEL_FEATURES_append_pn-linux-yocto = " features/nfsd/nfsd-enable.scc"