mirror of
https://git.yoctoproject.org/poky
synced 2026-04-27 12:32:13 +02:00
musl doesn't like lazy loading that xorg uses, therefore load the needed modules explicitly [YOCTO #10169] (From OE-Core rev: e279c9a30f0df400b06a47a487967a734854714b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
33 lines
967 B
Plaintext
33 lines
967 B
Plaintext
#@TYPE: Machine
|
|
#@NAME: common_pc
|
|
#@DESCRIPTION: Machine configuration for running a common x86
|
|
|
|
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
|
|
PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
|
|
PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
|
|
PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
|
|
|
|
require conf/machine/include/qemu.inc
|
|
DEFAULTTUNE ?= "core2-64"
|
|
require conf/machine/include/tune-core2.inc
|
|
|
|
KERNEL_IMAGETYPE = "bzImage"
|
|
|
|
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1"
|
|
|
|
XSERVER = "xserver-xorg \
|
|
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \
|
|
xf86-input-vmmouse \
|
|
xf86-input-keyboard \
|
|
xf86-input-evdev \
|
|
xf86-video-cirrus \
|
|
xf86-video-fbdev \
|
|
xf86-video-vmware \
|
|
xf86-video-modesetting \
|
|
xserver-xorg-module-libint10 \
|
|
"
|
|
|
|
MACHINE_FEATURES += "x86"
|
|
|
|
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d"
|