aboutsummaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/qemux86.conf
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-09-11 10:27:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-11 11:04:42 +0100
commit9951e1da6a755f9a46d3a595aa4c2f975aee8f46 (patch)
treecd2f64ab13a010281b3fae18f87c73d66bd5422e /meta/conf/machine/qemux86.conf
parent29f869b68a9017502f75915784a924f0fe9d4be1 (diff)
downloadopenembedded-core-contrib-9951e1da6a755f9a46d3a595aa4c2f975aee8f46.tar.gz
qemu: only depend on mesa-driver-swrast if opengl is enabled
As Mesa refuses to compile if the "opengl" DISTRO_FEATURE isn't enabled, mesa-driver-swrast has to be conditional in the QEMU machine defintions too. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/qemux86.conf')
-rw-r--r--meta/conf/machine/qemux86.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/machine/qemux86.conf b/meta/conf/machine/qemux86.conf
index 5f107bea8b..94ee57392d 100644
--- a/meta/conf/machine/qemux86.conf
+++ b/meta/conf/machine/qemux86.conf
@@ -15,7 +15,7 @@ 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 \