From: Yann E. MORIN Date: Fri, 20 Dec 2013 22:27:55 +0000 (+0100) Subject: package/opengl/libopenvg: switch to package-defined providers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd1ecc339a2b67907f24beb28b299c85711093ef;p=buildroot.git 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 Signed-off-by: "Yann E. MORIN" Cc: Arnout Vandecappelle Cc: Thomas Petazzoni Cc: Peter Korsgaard Signed-off-by: Thomas Petazzoni --- diff --git a/package/opengl/Config.in b/package/opengl/Config.in index 3960082747..109cde8add 100644 --- a/package/opengl/Config.in +++ b/package/opengl/Config.in @@ -1,8 +1,6 @@ source "package/opengl/libegl/Config.in" source "package/opengl/libgles/Config.in" - -config BR2_PACKAGE_HAS_OPENVG - bool +source "package/opengl/libopenvg/Config.in" config BR2_PACKAGE_HAS_OPENMAX bool diff --git a/package/opengl/libopenvg/Config.in b/package/opengl/libopenvg/Config.in new file mode 100644 index 0000000000..9d31525333 --- /dev/null +++ b/package/opengl/libopenvg/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_HAS_OPENVG + bool + +config BR2_PACKAGE_PROVIDES_OPENVG + depends on BR2_PACKAGE_HAS_OPENVG + string diff --git a/package/opengl/libopenvg/libopenvg.mk b/package/opengl/libopenvg/libopenvg.mk index 3296f63915..ffd9d6861e 100644 --- a/package/opengl/libopenvg/libopenvg.mk +++ b/package/opengl/libopenvg/libopenvg.mk @@ -5,10 +5,7 @@ ################################################################################ LIBOPENVG_SOURCE = - -ifeq ($(BR2_PACKAGE_RPI_USERLAND),y) -LIBOPENVG_DEPENDENCIES += rpi-userland -endif +LIBOPENVG_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_OPENVG)) ifeq ($(LIBOPENVG_DEPENDENCIES),) define LIBOPENVG_CONFIGURE_CMDS diff --git a/package/rpi-userland/Config.in b/package/rpi-userland/Config.in index b8860d6c9d..271c71d6d5 100644 --- a/package/rpi-userland/Config.in +++ b/package/rpi-userland/Config.in @@ -25,6 +25,9 @@ config BR2_PACKAGE_PROVIDES_OPENGL_EGL config BR2_PACKAGE_PROVIDES_OPENGL_ES default "rpi-userland" +config BR2_PACKAGE_PROVIDES_OPENVG + default "rpi-userland" + endif comment "rpi-userland needs a toolchain w/ C++, largefile, threads"