mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
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>
This commit is contained in:
committed by
Thomas Petazzoni
parent
caae18405d
commit
db4b9774b3
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user