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
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
--- /dev/null
+config BR2_PACKAGE_HAS_OPENGL_ES
+ bool
+
+config BR2_PACKAGE_PROVIDES_OPENGL_ES
+ depends on BR2_PACKAGE_HAS_OPENGL_ES
+ string
################################################################################
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
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"
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
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