Skip to contentSkip to conversation

yocto-bsp: conditionalise mesa-swrast on opengl in templates

PATCH New Ross Burton 1 participant 1 message Sep 11, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 yocto-bsp: conditionalise mesa-swrast on opengl in templates

As per the similar commit in oe-core on the qemu machines, the templates should respect the opengl DISTRO_FEATURE when adding mesa-driver-swrast to new qemu machines.

---
 .../bsp/substrate/target/arch/qemu/conf/machine/{{=machine}}.conf    |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/lib/bsp/substrate/target/arch/qemu/conf/machine/{{=machine}}.conf +1 -1
index d66d28f..782ac21 100644
@@ -47,7 +47,7 @@ MACHINE_FEATURES += "x86"
 KERNEL_IMAGETYPE = "bzImage"
 SERIAL_CONSOLE = "115200 ttyS0"
 XSERVER = "xserver-xorg \
-           mesa-driver-swrast \
+           ${@base_contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast', '', d)} \
            xf86-input-vmmouse \
            xf86-input-keyboard \
            xf86-input-evdev \
Signature · 1 line
1.7.10.4