d3e45e3f1f
The gpu-viv-bin-mx6q package selects BR2_PACKAGE_HAS_OPENGL_EGL and BR2_PACKAGE_HAS_OPENGL_ES, so when it is enabled, Buildroot believes that OpenGL and EGL support is available. However, both libgles.mk and libegl.mk do not add the dependency on gpu-viv-bin-mx6q, so when pulling the libgles or libegl dependencies, the build fails due to the absence of an OpenGL implementation. This commit fixes that. Fixes the build failure at http://autobuild.buildroot.org/results/dbd/dbd938914883a9e205f967f7b4b4a8a7dc7be117/build-end.log. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
33 lines
686 B
Makefile
33 lines
686 B
Makefile
################################################################################
|
|
#
|
|
# libgles
|
|
#
|
|
################################################################################
|
|
|
|
LIBGLES_SOURCE =
|
|
|
|
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
|
|
LIBGLES_DEPENDENCIES += rpi-userland
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_TI_GFX),y)
|
|
LIBGLES_DEPENDENCIES += ti-gfx
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SUNXI_MALI),y)
|
|
LIBGLES_DEPENDENCIES += sunxi-mali
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GPU_VIV_BIN_MX6Q),y)
|
|
LIBGLES_DEPENDENCIES += gpu-viv-bin-mx6q
|
|
endif
|
|
|
|
ifeq ($(LIBGLES_DEPENDENCIES),)
|
|
define LIBGLES_CONFIGURE_CMDS
|
|
echo "No libGLES implementation selected. Configuration error."
|
|
exit 1
|
|
endef
|
|
endif
|
|
|
|
$(eval $(generic-package))
|