package/opengl/libgles: switch to package-defined providers
For the underlying reasons, see previous patch, titled: package/opengl/libegl: switch to package-defined providers 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>
This commit is contained in:
parent
2c33417c9e
commit
79879de692
@ -27,6 +27,9 @@ if BR2_PACKAGE_GPU_VIV_BIN_MX6Q
|
||||
config BR2_PACKAGE_PROVIDES_OPENGL_EGL
|
||||
default "gpu-viv-bin-mx6q"
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_OPENGL_ES
|
||||
default "gpu-viv-bin-mx6q"
|
||||
|
||||
config BR2_PACKAGE_GPU_VIV_BIN_MX6Q_EXAMPLES
|
||||
bool "install examples"
|
||||
help
|
||||
|
@ -1,7 +1,5 @@
|
||||
source "package/opengl/libegl/Config.in"
|
||||
|
||||
config BR2_PACKAGE_HAS_OPENGL_ES
|
||||
bool
|
||||
source "package/opengl/libgles/Config.in"
|
||||
|
||||
config BR2_PACKAGE_HAS_OPENVG
|
||||
bool
|
||||
|
6
package/opengl/libgles/Config.in
Normal file
6
package/opengl/libgles/Config.in
Normal file
@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_HAS_OPENGL_ES
|
||||
bool
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_OPENGL_ES
|
||||
depends on BR2_PACKAGE_HAS_OPENGL_ES
|
||||
string
|
@ -5,22 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
LIBGLES_SOURCE =
|
||||
|
||||
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
|
||||
LIBGLES_DEPENDENCIES += rpi-userland
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TI_GFX),y)
|
||||
LIBGLES_DEPENDENCIES += ti-gfx
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SUNXI_MALI),y)
|
||||
LIBGLES_DEPENDENCIES += sunxi-mali
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GPU_VIV_BIN_MX6Q),y)
|
||||
LIBGLES_DEPENDENCIES += gpu-viv-bin-mx6q
|
||||
endif
|
||||
LIBGLES_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_OPENGL_ES))
|
||||
|
||||
ifeq ($(LIBGLES_DEPENDENCIES),)
|
||||
define LIBGLES_CONFIGURE_CMDS
|
||||
|
@ -22,6 +22,9 @@ if BR2_PACKAGE_RPI_USERLAND
|
||||
config BR2_PACKAGE_PROVIDES_OPENGL_EGL
|
||||
default "rpi-userland"
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_OPENGL_ES
|
||||
default "rpi-userland"
|
||||
|
||||
endif
|
||||
|
||||
comment "rpi-userland needs a toolchain w/ C++, largefile, threads"
|
||||
|
@ -21,6 +21,9 @@ if BR2_PACKAGE_SUNXI_MALI
|
||||
config BR2_PACKAGE_PROVIDES_OPENGL_EGL
|
||||
default "sunxi-mali"
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_OPENGL_ES
|
||||
default "sunxi-mali"
|
||||
|
||||
config BR2_PACKAGE_SUNXI_MALI_DBG
|
||||
bool "install malitest and maliver tools"
|
||||
help
|
||||
|
@ -14,6 +14,9 @@ if BR2_PACKAGE_TI_GFX
|
||||
config BR2_PACKAGE_PROVIDES_OPENGL_EGL
|
||||
default "ti-gfx"
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_OPENGL_ES
|
||||
default "ti-gfx"
|
||||
|
||||
config BR2_PACKAGE_TI_GFX_DEBUG
|
||||
bool "enable debug support"
|
||||
help
|
||||
|
Loading…
Reference in New Issue
Block a user