summaryrefslogtreecommitdiffstats
path: root/package/opengl
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2014-04-05 17:21:41 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-04-05 19:20:53 +0200
commitdb4b9774b34154f92246b12365bb5ecde9f16c6d (patch)
tree0adba6eedd7b2c607331f1dae88bdea7c7e8d2e0 /package/opengl
parentcaae18405d90c17c505f4d8f47fef2d984599121 (diff)
downloadbuildroot-db4b9774b34154f92246b12365bb5ecde9f16c6d.tar.gz
buildroot-db4b9774b34154f92246b12365bb5ecde9f16c6d.zip
package/libopenvg: 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, renaming the package will allow us to switch libopenvg 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> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Cc: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/opengl')
-rw-r--r--package/opengl/libopenvg/Config.in6
-rw-r--r--package/opengl/libopenvg/libopenvg.mk4
2 files changed, 5 insertions, 5 deletions
diff --git a/package/opengl/libopenvg/Config.in b/package/opengl/libopenvg/Config.in
index 9d31525333..53cde6a88c 100644
--- a/package/opengl/libopenvg/Config.in
+++ b/package/opengl/libopenvg/Config.in
@@ -1,6 +1,6 @@
-config BR2_PACKAGE_HAS_OPENVG
+config BR2_PACKAGE_HAS_LIBOPENVG
bool
-config BR2_PACKAGE_PROVIDES_OPENVG
- depends on BR2_PACKAGE_HAS_OPENVG
+config BR2_PACKAGE_PROVIDES_LIBOPENVG
+ depends on BR2_PACKAGE_HAS_LIBOPENVG
string
diff --git a/package/opengl/libopenvg/libopenvg.mk b/package/opengl/libopenvg/libopenvg.mk
index f81db5ef16..1c6f9298b1 100644
--- a/package/opengl/libopenvg/libopenvg.mk
+++ b/package/opengl/libopenvg/libopenvg.mk
@@ -5,9 +5,9 @@
################################################################################
LIBOPENVG_SOURCE =
-LIBOPENVG_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_OPENVG))
+LIBOPENVG_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_LIBOPENVG))
-ifeq ($(BR2_PACKAGE_HAS_OPENVG),y)
+ifeq ($(BR2_PACKAGE_HAS_LIBOPENVG),y)
ifeq ($(LIBOPENVG_DEPENDENCIES),)
$(error No libOpenVG implementation selected. Configuration error.)
endif
OpenPOWER on IntegriCloud