summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-08-06 08:54:19 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-08-06 08:54:19 (GMT)
commitd3e45e3f1f5127083fc1252b4b9ac9ca62693696 (patch)
tree6dd7e8d6dd6b5f148093286c7794327d62090be8
parent5c5e63d319f5c9e89464b3f10348b76c56521650 (diff)
downloadbuildroot-d3e45e3f1f5127083fc1252b4b9ac9ca62693696.tar.gz
buildroot-d3e45e3f1f5127083fc1252b4b9ac9ca62693696.tar.bz2
opengl: libgles and libegl also provided by gpu-viv-bin-mx6q
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>
-rw-r--r--package/opengl/libegl/libegl.mk4
-rw-r--r--package/opengl/libgles/libgles.mk4
2 files changed, 8 insertions, 0 deletions
diff --git a/package/opengl/libegl/libegl.mk b/package/opengl/libegl/libegl.mk
index 97a4b85..c194b02 100644
--- a/package/opengl/libegl/libegl.mk
+++ b/package/opengl/libegl/libegl.mk
@@ -18,6 +18,10 @@ ifeq ($(BR2_PACKAGE_SUNXI_MALI),y)
LIBEGL_DEPENDENCIES += sunxi-mali
endif
+ifeq ($(BR2_PACKAGE_GPU_VIV_BIN_MX6Q),y)
+LIBEGL_DEPENDENCIES += gpu-viv-bin-mx6q
+endif
+
ifeq ($(LIBEGL_DEPENDENCIES),)
define LIBEGL_CONFIGURE_CMDS
echo "No libEGL implementation selected. Configuration error."
diff --git a/package/opengl/libgles/libgles.mk b/package/opengl/libgles/libgles.mk
index 2945496..ec157ac 100644
--- a/package/opengl/libgles/libgles.mk
+++ b/package/opengl/libgles/libgles.mk
@@ -18,6 +18,10 @@ 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."