[Buildroot] [PATCH 3/6] package/mesa3d: is a full-openGL provider if X.org is present
Yann E. MORIN
yann.morin.1998 at free.fr
Mon Mar 31 21:59:59 UTC 2014
From: "Yann E. MORIN" <yann.morin.1998 at free.fr>
In combination with X.org, mesa3d is a full-openGL provider, as long
as at least one driver is being built.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Cc: Paul Cercueil <paul at crapouillou.net>
Cc: Bernd Kuhls <berndkuhls at hotmail.com>
---
Thanks to Paul for explaining this on IRC! :-)
In parallel, Bernd posted his patch to the list, which was very similar
to this one.
---
package/mesa3d/Config.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
index 8ed0c07..f3d855b 100644
--- a/package/mesa3d/Config.in
+++ b/package/mesa3d/Config.in
@@ -34,6 +34,7 @@ comment "DRI drivers need shared libdrm"
config BR2_PACKAGE_MESA3D_DRIVER
bool
+ select BR2_PACKAGE_HAS_OPENGL
menu "Drivers"
@@ -106,6 +107,9 @@ config BR2_PACKAGE_MESA3D_OPENGL_ES
endmenu
+config BR2_PACKAGE_PROVIDES_OPENGL
+ default "mesa3d" if BR2_PACKAGE_MESA3D_DRIVER
+
config BR2_PACKAGE_PROVIDES_OPENGL_EGL
default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_EGL
--
1.8.3.2
More information about the buildroot
mailing list