aboutsummaryrefslogtreecommitdiff
path: root/package/rpi-userland
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2013-12-20 23:27:53 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-12-25 18:20:42 +0100
commit2c33417c9e777ab5eb5d21bc5354208d9b79ba11 (patch)
tree97a1c3ba278a11a5c22aa8082625beffda0c047c /package/rpi-userland
parent9e07d07d9d9e065e00bd54f4f9c78912d94b2fdf (diff)
downloadbuildroot-2c33417c9e777ab5eb5d21bc5354208d9b79ba11.tar.gz
buildroot-2c33417c9e777ab5eb5d21bc5354208d9b79ba11.tar.bz2
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/rpi-userland')
-rw-r--r--package/rpi-userland/Config.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/rpi-userland/Config.in b/package/rpi-userland/Config.in
index 8910211836..3c8959e293 100644
--- a/package/rpi-userland/Config.in
+++ b/package/rpi-userland/Config.in
@@ -17,6 +17,13 @@ config BR2_PACKAGE_RPI_USERLAND
https://github.com/raspberrypi/userland/
+if BR2_PACKAGE_RPI_USERLAND
+
+config BR2_PACKAGE_PROVIDES_OPENGL_EGL
+ default "rpi-userland"
+
+endif
+
comment "rpi-userland needs a toolchain w/ C++, largefile, threads"
depends on BR2_arm
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS