package/opengl/libegl: switch to package-defined providers
authorYann E. MORIN <yann.morin.1998@free.fr>
Fri, 20 Dec 2013 22:27:53 +0000 (23:27 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 25 Dec 2013 17:20:42 +0000 (18:20 +0100)
commit2c33417c9e777ab5eb5d21bc5354208d9b79ba11
tree97a1c3ba278a11a5c22aa8082625beffda0c047c
parent9e07d07d9d9e065e00bd54f4f9c78912d94b2fdf
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>
package/freescale-imx/gpu-viv-bin-mx6q/Config.in
package/opengl/Config.in
package/opengl/libegl/Config.in [new file with mode: 0644]
package/opengl/libegl/libegl.mk
package/rpi-userland/Config.in
package/sunxi-mali/Config.in
package/ti-gfx/Config.in