summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2012-11-19 16:04:55 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-20 15:31:54 +0000
commitd9fe5c5dc078698b6282cf6b84f92facf6d7c046 (patch)
tree6869b75c747b140adaf52242ed54cc53ffc2c256 /meta/recipes-graphics
parent7e0efe18e538ecfcf191573eb413dba4b228c56f (diff)
downloadpoky-d9fe5c5dc078698b6282cf6b84f92facf6d7c046.tar.gz
mesa: default to enabling EGL and GLES
Even on systems where Mesa has no hardware support, building the software renderers is useful for build testing and limited functionality. (From OE-Core rev: e79987bc4bac1d739f92790f8e9840cd02f073d3) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/mesa/mesa-common.inc3
-rw-r--r--meta/recipes-graphics/mesa/mesa-dri_8.0.4.bb2
-rw-r--r--meta/recipes-graphics/mesa/mesa-dri_git.bb2
3 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
index 8e7137818b..9e42dbfe2f 100644
--- a/meta/recipes-graphics/mesa/mesa-common.inc
+++ b/meta/recipes-graphics/mesa/mesa-common.inc
@@ -29,8 +29,7 @@ EXTRA_OECONF = "--disable-glu \
29 --disable-glut \ 29 --disable-glut \
30 --enable-shared-glapi" 30 --enable-shared-glapi"
31 31
32PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" 32PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} egl gles"
33PACKAGECONFIG_append_x86 = " gles egl"
34 33
35X11_DEPS = "xf86driproto glproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes" 34X11_DEPS = "xf86driproto glproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes"
36PACKAGECONFIG[x11] = "--enable-glx-tls,--disable-glx,${X11_DEPS}" 35PACKAGECONFIG[x11] = "--enable-glx-tls,--disable-glx,${X11_DEPS}"
diff --git a/meta/recipes-graphics/mesa/mesa-dri_8.0.4.bb b/meta/recipes-graphics/mesa/mesa-dri_8.0.4.bb
index fabb99d59a..a5a592d86d 100644
--- a/meta/recipes-graphics/mesa/mesa-dri_8.0.4.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri_8.0.4.bb
@@ -1,4 +1,4 @@
1require mesa-common.inc 1require mesa-common.inc
2require mesa-${PV}.inc 2require mesa-${PV}.inc
3require mesa-dri.inc 3require mesa-dri.inc
4PR = "${INC_PR}.3" 4PR = "${INC_PR}.4"
diff --git a/meta/recipes-graphics/mesa/mesa-dri_git.bb b/meta/recipes-graphics/mesa/mesa-dri_git.bb
index 5f8697a1dd..e9e4a88a7f 100644
--- a/meta/recipes-graphics/mesa/mesa-dri_git.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri_git.bb
@@ -5,4 +5,4 @@ require mesa-dri.inc
5# this needs to be lower than -1 because all mesa-dri have -1 and git version has highest PV, but shouldn't be default 5# this needs to be lower than -1 because all mesa-dri have -1 and git version has highest PV, but shouldn't be default
6DEFAULT_PREFERENCE = "-2" 6DEFAULT_PREFERENCE = "-2"
7 7
8PR = "${INC_PR}.2" 8PR = "${INC_PR}.3"