From: Thomas Petazzoni Date: Wed, 6 Mar 2013 10:22:47 +0000 (+0000) Subject: package: create virtual package for libGLES, libOpenVG and libEGL X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5e6696713c20615d0c1fdbafb8189fce9992e534;p=buildroot.git package: create virtual package for libGLES, libOpenVG and libEGL Those acceleration libraries typically have multiple implementations: some are free (Mesa), some are proprietary (generally SoC specific). Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- diff --git a/package/Config.in b/package/Config.in index 370676383b..22e64f8692 100644 --- a/package/Config.in +++ b/package/Config.in @@ -435,6 +435,7 @@ source "package/librsvg/Config.in" source "package/libsvgtiny/Config.in" source "package/libungif/Config.in" source "package/opencv/Config.in" +source "package/opengl/Config.in" source "package/pango/Config.in" source "package/pixman/Config.in" source "package/tiff/Config.in" diff --git a/package/opengl/Config.in b/package/opengl/Config.in new file mode 100644 index 0000000000..81616f99fb --- /dev/null +++ b/package/opengl/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_HAS_OPENGL_EGL + bool + +config BR2_PACKAGE_HAS_OPENGL_ES + bool + +config BR2_PACKAGE_HAS_OPENVG + bool diff --git a/package/opengl/libegl/libegl.mk b/package/opengl/libegl/libegl.mk new file mode 100644 index 0000000000..56cc8ac0d6 --- /dev/null +++ b/package/opengl/libegl/libegl.mk @@ -0,0 +1,16 @@ +############################################################# +# +# Virtual package for libEGL +# +############################################################# + +LIBEGL_SOURCE = + +ifeq ($(LIBEGL_DEPENDENCIES),y) +define LIBEGL_CONFIGURE_CMDS + echo "No libEGL implementation selected. Configuration error." + exit 1 +endef +endif + +$(eval $(generic-package)) diff --git a/package/opengl/libgles/libgles.mk b/package/opengl/libgles/libgles.mk new file mode 100644 index 0000000000..753f53efe1 --- /dev/null +++ b/package/opengl/libgles/libgles.mk @@ -0,0 +1,16 @@ +############################################################# +# +# Virtual package for libGLES +# +############################################################# + +LIBGLES_SOURCE = + +ifeq ($(LIBGLES_DEPENDENCIES),y) +define LIBGLES_CONFIGURE_CMDS + echo "No libGLES implementation selected. Configuration error." + exit 1 +endef +endif + +$(eval $(generic-package)) diff --git a/package/opengl/libopenvg/libopenvg.mk b/package/opengl/libopenvg/libopenvg.mk new file mode 100644 index 0000000000..2fcc99fa3b --- /dev/null +++ b/package/opengl/libopenvg/libopenvg.mk @@ -0,0 +1,16 @@ +############################################################# +# +# Virtual package for libOpenVG +# +############################################################# + +LIBOPENVG_SOURCE = + +ifeq ($(LIBOPENVG_DEPENDENCIES),y) +define LIBOPENVG_CONFIGURE_CMDS + echo "No libOpenVG implementation selected. Configuration error." + exit 1 +endef +endif + +$(eval $(generic-package)) diff --git a/package/opengl/opengl.mk b/package/opengl/opengl.mk new file mode 100644 index 0000000000..68df3b171b --- /dev/null +++ b/package/opengl/opengl.mk @@ -0,0 +1 @@ +include package/opengl/*/*.mk