1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

mesa-dri: Enable swrast only by default and intel drivers only on IA platform

(From OE-Core rev: d1b12b92439805ec9ca5d031d34d264acd0cab3b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2011-10-14 15:32:20 +01:00
parent 6879750ad5
commit 2fd6598a2c
3 changed files with 5 additions and 7 deletions
+5 -1
View File
@@ -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
@@ -2,7 +2,3 @@ include mesa-common.inc
include mesa-${PV}.inc
include mesa-dri.inc
PR = "${INC_PR}.0"
EXTRA_OECONF += "--with-dri-drivers=swrast,i915,i965"
COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)'
@@ -7,5 +7,3 @@ DEFAULT_PREFERENCE = "-2"
PR = "${INC_PR}.0"
COMPATIBLE_HOST = '(i.86|x86_64).*-linux'