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:
Yann E. MORIN 2013-12-20 23:27:54 +01:00 committed by Thomas Petazzoni
parent 2c33417c9e
commit 79879de692
7 changed files with 20 additions and 19 deletions

View File

@ -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

View File

@ -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

View 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

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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