summaryrefslogtreecommitdiffstats
path: root/package/opengl/libegl/libegl.mk
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-03-06 10:22:47 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-03-06 22:07:56 +0100
commit5e6696713c20615d0c1fdbafb8189fce9992e534 (patch)
tree551a0ac86e723eed585822ee7e2c1eb0c4ed3a39 /package/opengl/libegl/libegl.mk
parent09fef507b03decc2dcc9a520c5a0bd8fd23ae34c (diff)
downloadbuildroot-novena-5e6696713c20615d0c1fdbafb8189fce9992e534.tar.gz
buildroot-novena-5e6696713c20615d0c1fdbafb8189fce9992e534.zip
package: create virtual package for libGLES, libOpenVG and libEGL
Those acceleration libraries typically have multiple implementations: some are free (Mesa), some are proprietary (generally SoC specific). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/opengl/libegl/libegl.mk')
-rw-r--r--package/opengl/libegl/libegl.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/opengl/libegl/libegl.mk b/package/opengl/libegl/libegl.mk
new file mode 100644
index 000000000..56cc8ac0d
--- /dev/null
+++ b/package/opengl/libegl/libegl.mk
@@ -0,0 +1,16 @@
+#############################################################
+#
+# Virtual package for libEGL
+#
+#############################################################
+
+LIBEGL_SOURCE =
+
+ifeq ($(LIBEGL_DEPENDENCIES),y)
+define LIBEGL_CONFIGURE_CMDS
+ echo "No libEGL implementation selected. Configuration error."
+ exit 1
+endef
+endif
+
+$(eval $(generic-package))