diff options
-rw-r--r-- | meta/recipes-graphics/mesa/mesa-dri.inc | 6 | ||||
-rw-r--r-- | meta/recipes-graphics/mesa/mesa-dri_7.11.bb | 4 | ||||
-rw-r--r-- | meta/recipes-graphics/mesa/mesa-dri_git.bb | 2 |
3 files changed, 5 insertions, 7 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" | |||
4 | # most of our targets do not have DRI so will use mesa-xlib | 4 | # most of our targets do not have DRI so will use mesa-xlib |
5 | DEFAULT_PREFERENCE = "-1" | 5 | DEFAULT_PREFERENCE = "-1" |
6 | 6 | ||
7 | EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium --without-gallium-drivers" | 7 | DRIDRIVERS = "swrast" |
8 | DRIDRIVERS_x86 = "swrast,i915,i965" | ||
9 | DRIDRIVERS_x86-64 = "swrast,i915,i965" | ||
10 | |||
11 | EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium --without-gallium-drivers --with-dri-drivers=${DRIDRIVERS}" | ||
8 | 12 | ||
9 | python populate_packages_prepend() { | 13 | python populate_packages_prepend() { |
10 | import os.path | 14 | import os.path |
diff --git a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb index 6a4f9a9c3b..5d25127fcf 100644 --- a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb +++ b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb | |||
@@ -2,7 +2,3 @@ include mesa-common.inc | |||
2 | include mesa-${PV}.inc | 2 | include mesa-${PV}.inc |
3 | include mesa-dri.inc | 3 | include mesa-dri.inc |
4 | PR = "${INC_PR}.0" | 4 | PR = "${INC_PR}.0" |
5 | |||
6 | EXTRA_OECONF += "--with-dri-drivers=swrast,i915,i965" | ||
7 | |||
8 | COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)' | ||
diff --git a/meta/recipes-graphics/mesa/mesa-dri_git.bb b/meta/recipes-graphics/mesa/mesa-dri_git.bb index 15cde609d2..a0e19459f1 100644 --- a/meta/recipes-graphics/mesa/mesa-dri_git.bb +++ b/meta/recipes-graphics/mesa/mesa-dri_git.bb | |||
@@ -7,5 +7,3 @@ DEFAULT_PREFERENCE = "-2" | |||
7 | 7 | ||
8 | PR = "${INC_PR}.0" | 8 | PR = "${INC_PR}.0" |
9 | 9 | ||
10 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux' | ||
11 | |||