aboutsummaryrefslogtreecommitdiff
path: root/package/powervr
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2013-12-20 23:27:57 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-12-25 18:21:33 +0100
commitfe93cc8b5006db835ab1e417c2df6c9a0364697b (patch)
treedf99e16c149d9bbdd3e0a6f302efc425decf470c /package/powervr
parent7b2b4c8342c87379fc23937e0bbc7e439fc00e0c (diff)
downloadbuildroot-fe93cc8b5006db835ab1e417c2df6c9a0364697b.tar.gz
buildroot-fe93cc8b5006db835ab1e417c2df6c9a0364697b.tar.bz2
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>
Diffstat (limited to 'package/powervr')
-rw-r--r--package/powervr/Config.in4
-rw-r--r--package/powervr/powervr.mk5
2 files changed, 5 insertions, 4 deletions
diff --git a/package/powervr/Config.in b/package/powervr/Config.in
index d09ce74d6a..746e15b291 100644
--- a/package/powervr/Config.in
+++ b/package/powervr/Config.in
@@ -1,2 +1,6 @@
config BR2_PACKAGE_HAS_POWERVR
bool
+
+config BR2_PACKAGE_PROVIDES_POWERVR
+ depends on BR2_PACKAGE_HAS_POWERVR
+ string
diff --git a/package/powervr/powervr.mk b/package/powervr/powervr.mk
index 83392fde36..1f43505611 100644
--- a/package/powervr/powervr.mk
+++ b/package/powervr/powervr.mk
@@ -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