2c33417c9e
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>
69 lines
1.6 KiB
Plaintext
69 lines
1.6 KiB
Plaintext
config BR2_PACKAGE_TI_GFX
|
|
bool "ti-gfx"
|
|
select BR2_PACKAGE_HAS_OPENGL_EGL
|
|
select BR2_PACKAGE_HAS_OPENGL_ES
|
|
select BR2_PACKAGE_HAS_POWERVR
|
|
depends on BR2_LINUX_KERNEL && BR2_TOOLCHAIN_USES_GLIBC && BR2_arm
|
|
help
|
|
Graphics libraries for TI boards.
|
|
|
|
http://downloads.ti.com/dsps/dsps_public_sw/gfxsdk/
|
|
|
|
if BR2_PACKAGE_TI_GFX
|
|
|
|
config BR2_PACKAGE_PROVIDES_OPENGL_EGL
|
|
default "ti-gfx"
|
|
|
|
config BR2_PACKAGE_TI_GFX_DEBUG
|
|
bool "enable debug support"
|
|
help
|
|
Turns on debugging in the kernel module, install libraries built with
|
|
debugging enabled, installs various tests and installs esrev script.
|
|
|
|
config BR2_PACKAGE_TI_GFX_DEMOS
|
|
bool "install demos"
|
|
default y
|
|
help
|
|
Install the OGLES2ChameleonMan and OGLES2MagicLantern demos
|
|
|
|
config BR2_PACKAGE_TI_GFX_EGLIMAGE
|
|
bool "install eglimage version of libraries"
|
|
help
|
|
Installs OpenGL libaries which support the eglimage api.
|
|
|
|
choice
|
|
prompt "Target"
|
|
default BR2_PACKAGE_TI_GFX_ES3
|
|
help
|
|
Select the SOC for which you would like to install drivers. Please use the
|
|
chart at
|
|
http://processors.wiki.ti.com/index.php/OMAP35x_Graphics_SDK_Getting_Started_Guide
|
|
|
|
config BR2_PACKAGE_TI_GFX_ES3
|
|
bool "es3.x (OMAP35xx, AM35xx Rev 3.1+)"
|
|
help
|
|
OMAP35xx, AM35xx Rev 3.1+
|
|
|
|
config BR2_PACKAGE_TI_GFX_ES5
|
|
bool "es5.x (AM37xx, DM37xx)"
|
|
help
|
|
AM37xx, DM37xx
|
|
|
|
config BR2_PACKAGE_TI_GFX_ES6
|
|
bool "es6.x (AM387x, DMA814x, AM389x, DM816x)"
|
|
help
|
|
AM387x, DM814x, AM389x, DM816x
|
|
|
|
config BR2_PACKAGE_TI_GFX_ES8
|
|
bool "es8.x (AM335x)"
|
|
help
|
|
AM335x
|
|
|
|
endchoice
|
|
|
|
endif
|
|
|
|
comment "ti-gfx needs an (e)glibc toolchain and a Linux kernel to be built"
|
|
depends on BR2_arm
|
|
depends on !(BR2_LINUX_KERNEL && BR2_TOOLCHAIN_USES_GLIBC)
|