diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-05-14 11:57:43 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-05-26 07:24:57 +0200 |
commit | 3e8571c48e8f106b43d999467333b4cdae4fb62c (patch) | |
tree | cacb2eb4270fff87ed4adf4b66593ac9c4dd4964 /rules | |
parent | cd38b758fc73e788a826aa605738b6dad5144212 (diff) | |
download | ptxdist-3e8571c48e8f106b43d999467333b4cdae4fb62c.tar.gz ptxdist-3e8571c48e8f106b43d999467333b4cdae4fb62c.tar.xz |
platform-opengl: new virtual package
This is a virtual package that provides the correct dependencies for
generic OpenGL libraries. The default implementation depends on Mesa.
Hardware specific OpenGL libraries can be used by overwriting this package
with a custom version in the BSP.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r-- | rules/platform-opengl.in | 7 | ||||
-rw-r--r-- | rules/platform-opengl.make | 16 |
2 files changed, 23 insertions, 0 deletions
diff --git a/rules/platform-opengl.in b/rules/platform-opengl.in new file mode 100644 index 000000000..56fb85e4e --- /dev/null +++ b/rules/platform-opengl.in @@ -0,0 +1,7 @@ +## SECTION=multimedia_libs + +config PLATFORM_OPENGL + tristate + select MESALIB + select MESALIB_EGL + select MESALIB_GLES2 diff --git a/rules/platform-opengl.make b/rules/platform-opengl.make new file mode 100644 index 000000000..958e16fc3 --- /dev/null +++ b/rules/platform-opengl.make @@ -0,0 +1,16 @@ +# -*-makefile-*- +# +# Copyright (C) 2012 by Michael Olbrich <m.olbrich@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_PLATFORM_OPENGL) += platform-opengl + +# vim: syntax=make |