Skip to contentSkip to conversation

yocto-bsp: update qemu machine.conf template

PATCH Superseded Stefan Stanacar 1 participant 2 messages Nov 16, 2012

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 yocto-bsp: update qemu machine.conf template

Building a qemu sato image with a MACHINE created by yocto-bsp fails because nothing RPROVIDES qemugl anymore so remove qemugl support from the template as well (drop the entire XSERVER assign because it's included from qemu.inc)

Also drop redundant glibc configure knobs (nptl and tls are no longer optional and they don't exist in conf/machine/qemux86* anyway).

This is basically a sync with latest commits on meta/conf/machine/qemux86*

---
 .../substrate/target/arch/qemu/conf/machine/{{=machine}}.conf  | 10 ----------
 1 file changed, 10 deletions(-)
scripts/lib/bsp/substrate/target/arch/qemu/conf/machine/{{=machine}}.conf +0 -10
index d1f50c1..958d6da 100644
@@ -38,17 +38,7 @@ require conf/machine/include/tune-mips32.inc
 MACHINE_FEATURES += "x86"
 KERNEL_IMAGETYPE = "bzImage"
 SERIAL_CONSOLE = "115200 ttyS0"
-# We bypass swrast but we need it to be present for X to load correctly
-XSERVER ?= "xserver-xorg \
-           mesa-dri-driver-swrast \
-           xf86-input-vmmouse \
-           xf86-input-keyboard \
-           xf86-input-evdev \
-           xf86-video-vmware \
-           qemugl"
 require conf/machine/include/qemu.inc
-GLIBC_ADDONS = "nptl"
-GLIBC_EXTRA_OECONF = "--with-tls"
 
 {{ if qemuarch == "arm": }}
 KERNEL_IMAGETYPE = "zImage"
Signature · 1 line
1.7.11.7
#1 lore raw

Please ignore this one.
Dropping the entire XSERVER assign from the template was a bad idea. When creating a bsp layer from qemux86/x86-64 templates by default you need xf86-video-vmware (because of runqemu, xorg.conf) while other qemu templates use xf86-video-fbdev from qemu.inc. The universe will not be consistent today...

I'll send a v2 shortly, removing only qemugl from XSERVER.

-----Original Message-----
From: Stanacar, StefanX
Sent: Friday, November 16, 2012 1:37 PM
To: [email protected]
Cc: Stanacar, StefanX
Subject: [PATCH] yocto-bsp: update qemu machine.conf template

Building a qemu sato image with a MACHINE created by yocto-bsp fails because nothing RPROVIDES qemugl anymore so remove qemugl support from the template as well (drop the entire XSERVER assign because it's included from qemu.inc)

Also drop redundant glibc configure knobs (nptl and tls are no longer optional and they don't exist in conf/machine/qemux86* anyway).

This is basically a sync with latest commits on meta/conf/machine/qemux86*

---
 .../substrate/target/arch/qemu/conf/machine/{{=machine}}.conf  | 10 ----------
 1 file changed, 10 deletions(-)
scripts/lib/bsp/substrate/target/arch/qemu/conf/machine/{{=machine}}.conf +0 -10
index d1f50c1..958d6da 100644
@@ -38,17 +38,7 @@ require conf/machine/include/tune-mips32.inc
 MACHINE_FEATURES += "x86"
 KERNEL_IMAGETYPE = "bzImage"
 SERIAL_CONSOLE = "115200 ttyS0"
-# We bypass swrast but we need it to be present for X to load correctly
-XSERVER ?= "xserver-xorg \
-           mesa-dri-driver-swrast \
-           xf86-input-vmmouse \
-           xf86-input-keyboard \
-           xf86-input-evdev \
-           xf86-video-vmware \
-           qemugl"
 require conf/machine/include/qemu.inc
-GLIBC_ADDONS = "nptl"
-GLIBC_EXTRA_OECONF = "--with-tls"
 
 {{ if qemuarch == "arm": }}
 KERNEL_IMAGETYPE = "zImage"
Signature · 1 line
1.7.11.7