summaryrefslogtreecommitdiffstats
path: root/package/opengl/Config.in
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2013-12-20 23:27:53 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-12-25 18:20:42 +0100
commit2c33417c9e777ab5eb5d21bc5354208d9b79ba11 (patch)
tree97a1c3ba278a11a5c22aa8082625beffda0c047c /package/opengl/Config.in
parent9e07d07d9d9e065e00bd54f4f9c78912d94b2fdf (diff)
downloadbuildroot-2c33417c9e777ab5eb5d21bc5354208d9b79ba11.tar.gz
buildroot-2c33417c9e777ab5eb5d21bc5354208d9b79ba11.zip
package/opengl/libegl: switch to package-defined providers
It seems weird that the libegl package has to know all of the packages that may provide the EGL implementation. This also breaks implementation provided by packages in BR2_EXTERNAL, since we can't easily depend on the order of packages before we can derive the dependencies of libegl. So, Arnout and I separately came up to the same conclusion: move the dependency selection from out of libegl, and into each of the packages that provides an EGL implementation. Here it is. Since we no longer depend on the order packages are included, but on values set at Kconfig-time, we can now have EGL providers in BR2_EXTERNAL. Reported-by: David Corvoysier <david.corvoysier@orange.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <jacmet@uclibc.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/opengl/Config.in')
-rw-r--r--package/opengl/Config.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/opengl/Config.in b/package/opengl/Config.in
index 1636807a84..686543b27f 100644
--- a/package/opengl/Config.in
+++ b/package/opengl/Config.in
@@ -1,5 +1,4 @@
-config BR2_PACKAGE_HAS_OPENGL_EGL
- bool
+source "package/opengl/libegl/Config.in"
config BR2_PACKAGE_HAS_OPENGL_ES
bool
OpenPOWER on IntegriCloud