summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics/mesa/mesa-dri.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-14 15:32:20 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-15 00:41:12 +0100
commitd1b12b92439805ec9ca5d031d34d264acd0cab3b (patch)
treeb45694f475bf5866c67634e89acae681640e007e /meta/recipes-graphics/mesa/mesa-dri.inc
parentbd7663f5fa07394e5157f74e9958ebd88b7355b6 (diff)
downloadopenembedded-core-d1b12b92439805ec9ca5d031d34d264acd0cab3b.tar.gz
openembedded-core-d1b12b92439805ec9ca5d031d34d264acd0cab3b.tar.bz2
openembedded-core-d1b12b92439805ec9ca5d031d34d264acd0cab3b.zip
mesa-dri: Enable swrast only by default and intel drivers only on IA platform
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa-dri.inc')
-rw-r--r--meta/recipes-graphics/mesa/mesa-dri.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-dri.inc b/meta/recipes-graphics/mesa/mesa-dri.inc
index 603438ef0b..795144a2e6 100644
--- a/meta/recipes-graphics/mesa/mesa-dri.inc
+++ b/meta/recipes-graphics/mesa/mesa-dri.inc
@@ -4,7 +4,11 @@ LIB_DEPS += "libdrm expat"
# most of our targets do not have DRI so will use mesa-xlib
DEFAULT_PREFERENCE = "-1"
-EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium --without-gallium-drivers"
+DRIDRIVERS = "swrast"
+DRIDRIVERS_x86 = "swrast,i915,i965"
+DRIDRIVERS_x86-64 = "swrast,i915,i965"
+
+EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium --without-gallium-drivers --with-dri-drivers=${DRIDRIVERS}"
python populate_packages_prepend() {
import os.path