summaryrefslogtreecommitdiffstats
path: root/package/opengl
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2014-04-05 17:21:38 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-04-05 19:17:13 +0200
commitec0de5d26b082aff298cd907c8db8f7675e7865d (patch)
treeddd2867508dad10d0705763de7886b3ada4a7a0e /package/opengl
parente09c0444f70a2f60ff0e2c9b2d1d0840a5075f98 (diff)
downloadbuildroot-ec0de5d26b082aff298cd907c8db8f7675e7865d.tar.gz
buildroot-ec0de5d26b082aff298cd907c8db8f7675e7865d.zip
package/libgles: rename the _HAS and _PROVIDES variables
The basic rule for a package is to have its options named after the package name. There is no reason this should not also be the case for virtual packages. Besides, this will allow us to switch libgles to use the soon-to-be-introduced virtual-package infrastructure. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Cc: Mike Zick <minimod@morethan.org> Cc: Samuel Martin <s.martin49@gmail.com> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Acked-by: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/opengl')
-rw-r--r--package/opengl/libgles/Config.in6
-rw-r--r--package/opengl/libgles/libgles.mk4
2 files changed, 5 insertions, 5 deletions
diff --git a/package/opengl/libgles/Config.in b/package/opengl/libgles/Config.in
index 75ccfc899c..b7b800f3f2 100644
--- a/package/opengl/libgles/Config.in
+++ b/package/opengl/libgles/Config.in
@@ -1,6 +1,6 @@
-config BR2_PACKAGE_HAS_OPENGL_ES
+config BR2_PACKAGE_HAS_LIBGLES
bool
-config BR2_PACKAGE_PROVIDES_OPENGL_ES
- depends on BR2_PACKAGE_HAS_OPENGL_ES
+config BR2_PACKAGE_PROVIDES_LIBGLES
+ depends on BR2_PACKAGE_HAS_LIBGLES
string
diff --git a/package/opengl/libgles/libgles.mk b/package/opengl/libgles/libgles.mk
index 7a07e37193..041e3780e0 100644
--- a/package/opengl/libgles/libgles.mk
+++ b/package/opengl/libgles/libgles.mk
@@ -5,9 +5,9 @@
################################################################################
LIBGLES_SOURCE =
-LIBGLES_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_OPENGL_ES))
+LIBGLES_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_LIBGLES))
-ifeq ($(BR2_PACKAGE_HAS_OPENGL_ES),y)
+ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y)
ifeq ($(LIBGLES_DEPENDENCIES),)
$(error No libGLES implementation selected. Configuration error.)
endif
OpenPOWER on IntegriCloud