mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
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>
This commit is contained in:
committed by
Thomas Petazzoni
parent
f76aa49269
commit
694c876e55
@@ -107,10 +107,10 @@ config BR2_PACKAGE_MESA3D_OPENGL_ES
|
|||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
config BR2_PACKAGE_PROVIDES_OPENGL_EGL
|
config BR2_PACKAGE_PROVIDES_OPENGL_EGL
|
||||||
default "mesa3d"
|
default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_EGL
|
||||||
|
|
||||||
config BR2_PACKAGE_PROVIDES_OPENGL_ES
|
config BR2_PACKAGE_PROVIDES_OPENGL_ES
|
||||||
default "mesa3d"
|
default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_ES
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user