diff options
author | Ross Burton <ross.burton@intel.com> | 2012-07-30 16:54:26 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-19 10:45:57 +0100 |
commit | 05b343ee4b3ce410eafe5a301a10f252f542c547 (patch) | |
tree | 8e9a018961c3896c38ab00d3797da0e7705bdcdb /meta/recipes-graphics/mesa/mesa-dri.inc | |
parent | 7477153dd81bcf6c9afed47e73b388c755df30b4 (diff) | |
download | poky-05b343ee4b3ce410eafe5a301a10f252f542c547.tar.gz |
mesa: enable EGL, with DRM and X11 platforms
Patch originally by Damien Lespiau <damien.lespiau@intel.com>.
(From OE-Core rev: 03136ebc529dbc82f2db14055e124114da7e84b3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.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.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-dri.inc b/meta/recipes-graphics/mesa/mesa-dri.inc index ef1ca78af8..7a1164bf30 100644 --- a/meta/recipes-graphics/mesa/mesa-dri.inc +++ b/meta/recipes-graphics/mesa/mesa-dri.inc | |||
@@ -10,10 +10,14 @@ DRIDRIVERS_append_x86-64 = ",i915,i965" | |||
10 | 10 | ||
11 | EXTRA_OECONF += "--disable-gallium --without-gallium-drivers" | 11 | EXTRA_OECONF += "--disable-gallium --without-gallium-drivers" |
12 | EXTRA_OECONF += "--enable-dri --with-dri-drivers=${DRIDRIVERS}" | 12 | EXTRA_OECONF += "--enable-dri --with-dri-drivers=${DRIDRIVERS}" |
13 | EXTRA_OECONF += "--disable-egl --enable-gbm" | 13 | EXTRA_OECONF += "--enable-gbm" |
14 | 14 | ||
15 | PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-gles2" | 15 | PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-gles2" |
16 | 16 | ||
17 | EGL_PLATFORMS = "drm" | ||
18 | EGL_PLATFORMS .="${@base_contains('DISTRO_FEATURES', 'x11', ',x11', '', d)}" | ||
19 | PACKAGECONFIG[egl] = "--enable-egl --with-egl-platforms=${EGL_PLATFORMS}, --disable-egl" | ||
20 | |||
17 | python populate_packages_prepend() { | 21 | python populate_packages_prepend() { |
18 | dri_drivers_root = os.path.join(d.getVar('libdir', True), "dri") | 22 | dri_drivers_root = os.path.join(d.getVar('libdir', True), "dri") |
19 | 23 | ||