Patchwork [1/1] virtual/libgl: use mesa-xlib for qemuarm/qemumips/qemuppc

login
register
mail settings
Submitter Zhai, Edwin
Date March 30, 2012, 3:43 a.m.
Message ID <3539627b3b570087dbe19bda38ffe4e0c209b65d.1333078789.git.edwin.zhai@intel.com>
Download mbox | patch
Permalink /patch/24895/
State Accepted
Commit 22775b5f1d9c6d9860a579245bf7a48a982ab62f
Headers show

Comments

Zhai, Edwin - March 30, 2012, 3:43 a.m.
From: Zhai Edwin <edwin.zhai@intel.com>

Still need mesa-xlib for emulation of GLX interface on qemuarm/mips/ppc, where
mesa-dri doesn't work for pure qemu emulator.

[YOCTO #2066] fixed.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
---
 meta/conf/machine/include/qemu.inc |    1 +
 meta/conf/machine/qemux86-64.conf  |    1 +
 meta/conf/machine/qemux86.conf     |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/conf/machine/include/qemu.inc b/meta/conf/machine/include/qemu.inc
index 10ab76e..4ca4753 100644
--- a/meta/conf/machine/include/qemu.inc
+++ b/meta/conf/machine/include/qemu.inc
@@ -1,5 +1,6 @@ 
 PCMCIA_MANAGER = "pcmciautils"
 PREFERRED_PROVIDER_virtual/xserver ?= "xserver-kdrive"
+PREFERRED_PROVIDER_virtual/libgl ?= "mesa-xlib"
 
 MACHINE_FEATURES = "apm alsa pcmcia bluetooth irda usbgadget screen"
 
diff --git a/meta/conf/machine/qemux86-64.conf b/meta/conf/machine/qemux86-64.conf
index 73a4043..129fe9f 100644
--- a/meta/conf/machine/qemux86-64.conf
+++ b/meta/conf/machine/qemux86-64.conf
@@ -3,6 +3,7 @@ 
 #@DESCRIPTION: Machine configuration for running a common x86
 
 PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
+PREFERRED_PROVIDER_virtual/libgl ?= "mesa-dri"
 
 require conf/machine/include/tune-x86_64.inc
 require conf/machine/include/qemu.inc
diff --git a/meta/conf/machine/qemux86.conf b/meta/conf/machine/qemux86.conf
index 3edfe29..246d5a0 100644
--- a/meta/conf/machine/qemux86.conf
+++ b/meta/conf/machine/qemux86.conf
@@ -3,6 +3,7 @@ 
 #@DESCRIPTION: Machine configuration for running a common x86
 
 PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
+PREFERRED_PROVIDER_virtual/libgl ?= "mesa-dri"
 
 require conf/machine/include/tune-i586.inc
 require conf/machine/include/qemu.inc