package/powervr: 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:57 +01:00 committed by Thomas Petazzoni
parent 7b2b4c8342
commit fe93cc8b50
3 changed files with 8 additions and 4 deletions

View File

@ -1,2 +1,6 @@
config BR2_PACKAGE_HAS_POWERVR
bool
config BR2_PACKAGE_PROVIDES_POWERVR
depends on BR2_PACKAGE_HAS_POWERVR
string

View File

@ -5,10 +5,7 @@
################################################################################
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

View File

@ -17,6 +17,9 @@ config BR2_PACKAGE_PROVIDES_OPENGL_EGL
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