mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
qemumachines: Enable xserver-xorg as default xserver
For qemux86 and qemux86-64 include qemu.inc after defining XSERVER XSERVER variable is also weakly defined in task-core-x11.bb which means we can not use ??= otherwise when building any qemu image that uses task-core-x11.bb will get the wrong definition So we define the XSERVER common set for qemu in qemu.inc and as we know x86 and x86-64 qemu overrides the default we include qemu.inc after that definition which means that qemux86 and qemux86-64 get their own definitions and other qemus get the definitions from qemu.inc. other non-qemu machine will get their defintion from task which points to kdrive as of now. (From OE-Core rev: 62dba36166bc5faa32ba3e0664ae98b168cde6b1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -1,7 +1,14 @@
|
|||||||
PCMCIA_MANAGER = "pcmciautils"
|
PCMCIA_MANAGER = "pcmciautils"
|
||||||
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-kdrive"
|
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
|
||||||
PREFERRED_PROVIDER_virtual/libgl ?= "mesa-xlib"
|
PREFERRED_PROVIDER_virtual/libgl ?= "mesa-xlib"
|
||||||
|
|
||||||
|
XSERVER ?= "xserver-xorg \
|
||||||
|
mesa-dri-driver-swrast \
|
||||||
|
xf86-input-evdev \
|
||||||
|
xf86-input-mouse \
|
||||||
|
xf86-video-fbdev \
|
||||||
|
xf86-input-keyboard"
|
||||||
|
|
||||||
MACHINE_FEATURES = "apm alsa pcmcia bluetooth irda usbgadget screen"
|
MACHINE_FEATURES = "apm alsa pcmcia bluetooth irda usbgadget screen"
|
||||||
|
|
||||||
IMAGE_FSTYPES += "tar.bz2 ext3"
|
IMAGE_FSTYPES += "tar.bz2 ext3"
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
|
|||||||
PREFERRED_PROVIDER_virtual/libgl ?= "mesa-dri"
|
PREFERRED_PROVIDER_virtual/libgl ?= "mesa-dri"
|
||||||
|
|
||||||
require conf/machine/include/tune-x86_64.inc
|
require conf/machine/include/tune-x86_64.inc
|
||||||
require conf/machine/include/qemu.inc
|
|
||||||
|
|
||||||
MACHINE_FEATURES += "x86"
|
MACHINE_FEATURES += "x86"
|
||||||
|
|
||||||
@@ -23,6 +22,8 @@ XSERVER ?= "xserver-xorg \
|
|||||||
xf86-video-vmware \
|
xf86-video-vmware \
|
||||||
qemugl"
|
qemugl"
|
||||||
|
|
||||||
|
require conf/machine/include/qemu.inc
|
||||||
|
|
||||||
GLIBC_ADDONS = "nptl"
|
GLIBC_ADDONS = "nptl"
|
||||||
GLIBC_EXTRA_OECONF = "--with-tls"
|
GLIBC_EXTRA_OECONF = "--with-tls"
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
|
|||||||
PREFERRED_PROVIDER_virtual/libgl ?= "mesa-dri"
|
PREFERRED_PROVIDER_virtual/libgl ?= "mesa-dri"
|
||||||
|
|
||||||
require conf/machine/include/tune-i586.inc
|
require conf/machine/include/tune-i586.inc
|
||||||
require conf/machine/include/qemu.inc
|
|
||||||
|
|
||||||
MACHINE_FEATURES += "x86"
|
MACHINE_FEATURES += "x86"
|
||||||
|
|
||||||
@@ -23,6 +22,8 @@ XSERVER ?= "xserver-xorg \
|
|||||||
xf86-video-vmware \
|
xf86-video-vmware \
|
||||||
qemugl"
|
qemugl"
|
||||||
|
|
||||||
|
require conf/machine/include/qemu.inc
|
||||||
|
|
||||||
GLIBC_ADDONS = "nptl"
|
GLIBC_ADDONS = "nptl"
|
||||||
GLIBC_EXTRA_OECONF = "--with-tls"
|
GLIBC_EXTRA_OECONF = "--with-tls"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user