summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2014-03-30 00:02:48 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-03-30 09:31:08 (GMT)
commit694c876e55116cae80522539a347c9fee9bf487d (patch)
treee893e4dcc93bcf565c8fc05a032c1f9fe1185a28
parentf76aa49269c210ecd597941c5e4b6365dfa01c0f (diff)
downloadbuildroot-694c876e55116cae80522539a347c9fee9bf487d.tar.gz
buildroot-694c876e55116cae80522539a347c9fee9bf487d.tar.bz2
package/mesa3d: fix EGL/GLES provider
mesa3d being selected is not enough for it to be an EGL provider. The corresponding options BR2_PACKAGE_MESA3D_OPENGL_EGL should be enabled. This option already correctlt selects BR2_PACKAGE_HAS_OPENGL_EGL. So, only declare mesa3d as an EGL provider if the option is set. Ditto for GLES. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Bernd Kuhls <berndkuhls@hotmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/mesa3d/Config.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
index 217528b..8ed0c07 100644
--- a/package/mesa3d/Config.in
+++ b/package/mesa3d/Config.in
@@ -107,10 +107,10 @@ config BR2_PACKAGE_MESA3D_OPENGL_ES
endmenu
config BR2_PACKAGE_PROVIDES_OPENGL_EGL
- default "mesa3d"
+ default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_EGL
config BR2_PACKAGE_PROVIDES_OPENGL_ES
- default "mesa3d"
+ default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_ES
endif