From: Ross Burton Date: Wed, 11 Sep 2013 11:07:21 +0000 (+0100) Subject: yocto-bsp: conditionalise mesa-swrast on opengl in templates X-Git-Tag: rev_ivi_2015_02_04~11068 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=63a192930139cbf41d5ed72c4f683dbead8a97cf;p=scm%2Fbb%2Ftizen-distro.git 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. (From meta-yocto rev: 8d42ea2b2566913642c759e48ffe1f5f5166c510) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/conf/machine/{{=machine}}.conf b/scripts/lib/bsp/substrate/target/arch/qemu/conf/machine/{{=machine}}.conf index d66d28f..782ac21 100644 --- a/scripts/lib/bsp/substrate/target/arch/qemu/conf/machine/{{=machine}}.conf +++ b/scripts/lib/bsp/substrate/target/arch/qemu/conf/machine/{{=machine}}.conf @@ -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 \