summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-02-07 23:19:21 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-02-07 23:19:21 +0100
commit79f22504d7b5be45170063837d551c099e0c75d0 (patch)
tree2c8309374a3d0c3b6fc4be3efd167cf4c7f5ff55
parenta5617a52d0401a42a70f733bb3f593497f117f2d (diff)
libevas: generic opengl option needs mesa
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/efl/libevas/Config.in1
-rw-r--r--package/efl/libevas/libevas.mk4
2 files changed, 5 insertions, 0 deletions
diff --git a/package/efl/libevas/Config.in b/package/efl/libevas/Config.in
index e2f5349d7..3afba1bd5 100644
--- a/package/efl/libevas/Config.in
+++ b/package/efl/libevas/Config.in
@@ -134,6 +134,7 @@ choice
default BR2_PACKAGE_LIBEVAS_GL
config BR2_PACKAGE_LIBEVAS_GL
+ select BR2_PACKAGE_MESA3D
bool "generic OpenGL"
config BR2_PACKAGE_LIBEVAS_GLES_SGX
diff --git a/package/efl/libevas/libevas.mk b/package/efl/libevas/libevas.mk
index 14f49bb6d..9f1cf799f 100644
--- a/package/efl/libevas/libevas.mk
+++ b/package/efl/libevas/libevas.mk
@@ -98,6 +98,10 @@ LIBEVAS_CONF_OPT += --enable-gl-sdl
LIBEVAS_DEPENDENCIES += sdl
endif
+ifeq ($(BR2_PACKAGE_LIBEVAS_GL),y)
+LIBEVAS_DEPENDENCIES += mesa3d
+endif
+
ifeq ($(BR2_PACKAGE_LIBEVAS_GLES_SGX),y)
LIBEVAS_CONF_OPT += --enable-gl-flavor-gles --enable-gles-variety-sgx
endif