package/opengl/libopenvg: 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:
parent
79879de692
commit
dd1ecc339a
|
@ -1,8 +1,6 @@
|
||||||
source "package/opengl/libegl/Config.in"
|
source "package/opengl/libegl/Config.in"
|
||||||
source "package/opengl/libgles/Config.in"
|
source "package/opengl/libgles/Config.in"
|
||||||
|
source "package/opengl/libopenvg/Config.in"
|
||||||
config BR2_PACKAGE_HAS_OPENVG
|
|
||||||
bool
|
|
||||||
|
|
||||||
config BR2_PACKAGE_HAS_OPENMAX
|
config BR2_PACKAGE_HAS_OPENMAX
|
||||||
bool
|
bool
|
||||||
|
|
6
package/opengl/libopenvg/Config.in
Normal file
6
package/opengl/libopenvg/Config.in
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
config BR2_PACKAGE_HAS_OPENVG
|
||||||
|
bool
|
||||||
|
|
||||||
|
config BR2_PACKAGE_PROVIDES_OPENVG
|
||||||
|
depends on BR2_PACKAGE_HAS_OPENVG
|
||||||
|
string
|
|
@ -5,10 +5,7 @@
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
LIBOPENVG_SOURCE =
|
LIBOPENVG_SOURCE =
|
||||||
|
LIBOPENVG_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_OPENVG))
|
||||||
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
|
|
||||||
LIBOPENVG_DEPENDENCIES += rpi-userland
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(LIBOPENVG_DEPENDENCIES),)
|
ifeq ($(LIBOPENVG_DEPENDENCIES),)
|
||||||
define LIBOPENVG_CONFIGURE_CMDS
|
define LIBOPENVG_CONFIGURE_CMDS
|
||||||
|
|
|
@ -25,6 +25,9 @@ config BR2_PACKAGE_PROVIDES_OPENGL_EGL
|
||||||
config BR2_PACKAGE_PROVIDES_OPENGL_ES
|
config BR2_PACKAGE_PROVIDES_OPENGL_ES
|
||||||
default "rpi-userland"
|
default "rpi-userland"
|
||||||
|
|
||||||
|
config BR2_PACKAGE_PROVIDES_OPENVG
|
||||||
|
default "rpi-userland"
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
comment "rpi-userland needs a toolchain w/ C++, largefile, threads"
|
comment "rpi-userland needs a toolchain w/ C++, largefile, threads"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user