]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
yocto-bsp: conditionalise mesa-swrast on opengl in templates
authorRoss Burton <ross.burton@intel.com>
Wed, 11 Sep 2013 11:07:21 +0000 (12:07 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Sep 2013 11:29:03 +0000 (12:29 +0100)
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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/bsp/substrate/target/arch/qemu/conf/machine/{{=machine}}.conf

index d66d28f7ad050076814457e29bdc910460cf24a2..782ac217d93089ce52003584348692eb6895a985 100644 (file)
@@ -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 \