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 <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Thomas Petazzoni 2013-03-06 10:22:47 +00:00 committed by Peter Korsgaard
parent 09fef507b0
commit 5e6696713c
6 changed files with 58 additions and 0 deletions

View File

@ -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"

8
package/opengl/Config.in Normal file
View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_HAS_OPENGL_EGL
bool
config BR2_PACKAGE_HAS_OPENGL_ES
bool
config BR2_PACKAGE_HAS_OPENVG
bool

View File

@ -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))

View File

@ -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))

View File

@ -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))

1
package/opengl/opengl.mk Normal file
View File

@ -0,0 +1 @@
include package/opengl/*/*.mk