Patchwork [18/19] qemu: Explicitly add --disable-gl-accel when gl is not enabled

login
register
mail settings
Submitter Khem Raj
Date July 8, 2012, 4:10 p.m.
Message ID <52141359d1bf54e963711ef5df6ab1825af264ab.1341763347.git.raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/31399/
State Accepted
Commit 039a2f63712cbe87eb68a8c8c0cc365b74651f5a
Headers show

Comments

Khem Raj - July 8, 2012, 4:10 p.m.
Default seems to be to enable GL accelaration so when
gl is not specified in PACKAGECONFIG then add the
--disable-gl-accel to really disable it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/qemu/qemu.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 707493e..e618c1d 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -38,7 +38,7 @@  do_install () {
 }
 
 PACKAGECONFIG ??= "gl"
-PACKAGECONFIG[gl] = "--enable-gl-accel,,,"
+PACKAGECONFIG[gl] = "--enable-gl-accel,--disable-gl-accel,,"
 
 DEPENDS_virtclass-native = "zlib-native alsa-lib-native glib-2.0-native"
 DEPENDS_virtclass-nativesdk = "zlib-nativesdk libsdl-nativesdk glib-2.0-nativesdk \