mirror of
https://git.busybox.net/buildroot.git
synced 2025-01-19 10:53:36 +08:00
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:
parent
09fef507b0
commit
5e6696713c
@ -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
8
package/opengl/Config.in
Normal 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
|
16
package/opengl/libegl/libegl.mk
Normal file
16
package/opengl/libegl/libegl.mk
Normal 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))
|
16
package/opengl/libgles/libgles.mk
Normal file
16
package/opengl/libgles/libgles.mk
Normal 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))
|
16
package/opengl/libopenvg/libopenvg.mk
Normal file
16
package/opengl/libopenvg/libopenvg.mk
Normal 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
1
package/opengl/opengl.mk
Normal file
@ -0,0 +1 @@
|
||||
include package/opengl/*/*.mk
|
Loading…
Reference in New Issue
Block a user