[Buildroot] [git commit] package/libgl: introduce as a new virtual package for full-openGL providers
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Apr 17 20:59:40 UTC 2014
commit: http://git.buildroot.net/buildroot/commit/?id=3cc6f24ed76c9e18336c3e54acde67009b9e98b0
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Currently, only mesa3d is such a full-openGL provider.
But it is easy to see a few more cropping up at the door:
- NVidia's binary blob
- ATI's fglrx binary blob
Having this virtual full-openGL package will help when those are getting in.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Cc: Bernd Kuhls <berndkuhls at hotmail.com>
Cc: Paul Cercueil <paul at crapouillou.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
package/opengl/Config.in | 1 +
package/opengl/libgl/Config.in | 6 ++++++
package/opengl/libgl/libgl.mk | 7 +++++++
3 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/package/opengl/Config.in b/package/opengl/Config.in
index ed81835..20ee28b 100644
--- a/package/opengl/Config.in
+++ b/package/opengl/Config.in
@@ -1,3 +1,4 @@
+source "package/opengl/libgl/Config.in"
source "package/opengl/libegl/Config.in"
source "package/opengl/libgles/Config.in"
source "package/opengl/libopenvg/Config.in"
diff --git a/package/opengl/libgl/Config.in b/package/opengl/libgl/Config.in
new file mode 100644
index 0000000..8b99e5b
--- /dev/null
+++ b/package/opengl/libgl/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_HAS_LIBGL
+ bool
+
+config BR2_PACKAGE_PROVIDES_LIBGL
+ depends on BR2_PACKAGE_HAS_LIBGL
+ string
diff --git a/package/opengl/libgl/libgl.mk b/package/opengl/libgl/libgl.mk
new file mode 100644
index 0000000..7abc13d
--- /dev/null
+++ b/package/opengl/libgl/libgl.mk
@@ -0,0 +1,7 @@
+################################################################################
+#
+# libgl
+#
+################################################################################
+
+$(eval $(virtual-package))
More information about the buildroot
mailing list