Skip to contentSkip to conversation

package/mesa3d: fix EGL/GLES provider

PATCH New Yann E. MORIN 2 participants 2 messages Mar 30, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/mesa3d: fix EGL/GLES provider

From: "Yann E. MORIN" <[email protected]>

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.

Cc Bernd Kuhls <[email protected]>
Cc Thomas Petazzoni <[email protected]>
---
 package/mesa3d/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/mesa3d/Config.in +2 -2
index 217528b..8ed0c07 100644
@@ -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
 
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 package/mesa3d: fix EGL/GLES provider

Dear Yann E. MORIN,

Quoted 9 lines · Yann E. MORIN

From: "Yann E. MORIN" <[email protected]>

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.

Quoted 8 lines

Ditto for GLES.

Cc Bernd Kuhls <[email protected]>
Cc Thomas Petazzoni <[email protected]>
---
 package/mesa3d/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com