diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2013-06-13 01:19:55 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-14 12:44:34 +0100 |
commit | e6ca54c8b13e9e76b683be6119d03d4657e9cfbd (patch) | |
tree | fdc1d8a3618ca09fa4562c3ea81dc1ce74449d40 /meta/recipes-graphics/mesa/mesa.inc | |
parent | 85cdc71f9def4bb9326cf440d4cad264c2b5ea6e (diff) | |
download | poky-e6ca54c8b13e9e76b683be6119d03d4657e9cfbd.tar.gz |
mesa: use PACKAGECONFIG instead of DISTRO_FEATURES to define EGL_PLATFORMS
* it makes it easier to change PACKAGECONFIG in .bbappend and get
consistent EGL_PLATFORMS
(From OE-Core rev: 50dcfeab2b18422f3ab067893a0b68b17706d6e2)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa.inc')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index ec30301840..cc117531c7 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc | |||
@@ -42,8 +42,8 @@ EXTRA_OECONF += "--enable-gbm" | |||
42 | PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-gles2" | 42 | PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-gles2" |
43 | 43 | ||
44 | EGL_PLATFORMS = "drm" | 44 | EGL_PLATFORMS = "drm" |
45 | EGL_PLATFORMS .="${@base_contains('DISTRO_FEATURES', 'x11', ',x11', '', d)}" | 45 | EGL_PLATFORMS .="${@base_contains('PACKAGECONFIG', 'x11', ',x11', '', d)}" |
46 | EGL_PLATFORMS .="${@base_contains('DISTRO_FEATURES', 'wayland', ',wayland', '', d)}" | 46 | EGL_PLATFORMS .="${@base_contains('PACKAGECONFIG', 'wayland', ',wayland', '', d)}" |
47 | PACKAGECONFIG[egl] = "--enable-egl --with-egl-platforms=${EGL_PLATFORMS}, --disable-egl" | 47 | PACKAGECONFIG[egl] = "--enable-egl --with-egl-platforms=${EGL_PLATFORMS}, --disable-egl" |
48 | 48 | ||
49 | # Multiple virtual/gl providers being built breaks staging | 49 | # Multiple virtual/gl providers being built breaks staging |