summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics/mesa/mesa-dri.inc
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2012-08-02 17:48:59 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-06 14:44:35 +0100
commitbe882417cf432fe79a843cea4439503f286206cf (patch)
tree37f82c95c6d7630787dee8ed81d2851606eab2cd /meta/recipes-graphics/mesa/mesa-dri.inc
parentd856f4c18425b9e3e5a0898d7f29cffc1998ca12 (diff)
downloadopenembedded-core-be882417cf432fe79a843cea4439503f286206cf.tar.gz
openembedded-core-be882417cf432fe79a843cea4439503f286206cf.tar.bz2
openembedded-core-be882417cf432fe79a843cea4439503f286206cf.zip
mesa: enable the Graphic Buffer Manager library
Signed-off-by: Ross Burton <ross.burton@intel.com> 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, 4 insertions, 2 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-dri.inc b/meta/recipes-graphics/mesa/mesa-dri.inc
index 6bf2503296..f8f1fff4cc 100644
--- a/meta/recipes-graphics/mesa/mesa-dri.inc
+++ b/meta/recipes-graphics/mesa/mesa-dri.inc
@@ -1,5 +1,5 @@
PROTO_DEPS += "dri2proto"
-LIB_DEPS += "libdrm expat"
+LIB_DEPS += "libdrm expat udev"
# most of our targets do not have DRI so will use mesa-xlib
DEFAULT_PREFERENCE = "-1"
@@ -8,7 +8,9 @@ DRIDRIVERS = "swrast"
DRIDRIVERS_append_x86 = ",i915,i965"
DRIDRIVERS_append_x86-64 = ",i915,i965"
-EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium --without-gallium-drivers --with-dri-drivers=${DRIDRIVERS}"
+EXTRA_OECONF += "--disable-gallium --without-gallium-drivers"
+EXTRA_OECONF += "--enable-dri --with-dri-drivers=${DRIDRIVERS}"
+EXTRA_OECONF += "--disable-egl --enable-gbm"
python populate_packages_prepend() {
dri_drivers_root = os.path.join(d.getVar('libdir', True), "dri")