Commit 79879de6 authored by Yann E. MORIN's avatar Yann E. MORIN Committed by Thomas Petazzoni
Browse files

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: default avatarDavid Corvoysier <david.corvoysier@orange.com>
Signed-off-by: default avatar"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: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 2c33417c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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 −3
Original line number Diff line number Diff line
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 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_HAS_OPENGL_ES
	bool

config BR2_PACKAGE_PROVIDES_OPENGL_ES
	depends on BR2_PACKAGE_HAS_OPENGL_ES
	string
+1 −16
Original line number Diff line number Diff line
@@ -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
+3 −0
Original line number Diff line number Diff line
@@ -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"
Loading