From patchwork Thu Jan 31 00:33:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [v2] mesa-dri: add extra dri drivers Date: Thu, 31 Jan 2013 00:33:21 -0000 From: igeiser@devonit.com X-Patchwork-Id: 43727 Message-Id: <1359592401-16494-1-git-send-email-igeiser@devonit.com> To: openembedded-core@lists.openembedded.org From: Ian Reinhart Geiser * By default enable only swrast. This needs to be here or for some reason qemuarm tries to detect the intel dri libraries and fails. * For x86 and x86-64 clear out the field so mesa enabled all of the modules. builds properly with qemux86 qemuarm and qemux86-64 Signed-off-by: Ian Reinhart Geiser --- meta/recipes-graphics/mesa/mesa-dri.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/recipes-graphics/mesa/mesa-dri.inc b/meta/recipes-graphics/mesa/mesa-dri.inc index 1f6ec78..2a9afb5 100644 --- a/meta/recipes-graphics/mesa/mesa-dri.inc +++ b/meta/recipes-graphics/mesa/mesa-dri.inc @@ -1,12 +1,12 @@ DEPENDS += "libdrm expat udev" X11_DEPS += "dri2proto" -DRIDRIVERS = "swrast" -DRIDRIVERS_append_x86 = ",i915,i965" -DRIDRIVERS_append_x86-64 = ",i915,i965" +DRIDRIVERS = "--with-dri-drivers=swrast" +DRIDRIVERS_x86 = "" +DRIDRIVERS_x86-64 = "" EXTRA_OECONF += "--disable-gallium --without-gallium-drivers" -EXTRA_OECONF += "--enable-dri --with-dri-drivers=${DRIDRIVERS}" +EXTRA_OECONF += "--enable-dri ${DRI_DRIVERS}" EXTRA_OECONF += "--enable-gbm" PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-gles2"