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>
config BR2_PACKAGE_HAS_POWERVR
bool
+
+config BR2_PACKAGE_PROVIDES_POWERVR
+ depends on BR2_PACKAGE_HAS_POWERVR
+ string
################################################################################
POWERVR_SOURCE =
-
-ifeq ($(BR2_PACKAGE_TI_GFX),y)
-POWERVR_DEPENDENCIES += ti-gfx
-endif
+POWERVR_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_POWERVR))
ifeq ($(POWERVR_DEPENDENCIES),)
define POWERVR_CONFIGURE_CMDS
config BR2_PACKAGE_PROVIDES_OPENGL_ES
default "ti-gfx"
+config BR2_PACKAGE_PROVIDES_POWERVR
+ default "ti-gfx"
+
config BR2_PACKAGE_TI_GFX_DEBUG
bool "enable debug support"
help