summaryrefslogtreecommitdiff
path: root/src/egl/main
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2011-11-25 20:44:12 +0800
committerChia-I Wu <olv@lunarg.com>2011-11-26 11:42:08 +0800
commit496f68bb9d3760075c4a446ddf832dce6cf6cbc7 (patch)
treef5946d8015342575dc0de9e8a6d1bef1b6a25c3c /src/egl/main
parentd2cd621086fdf620a96d599bac0873ff58ddf137 (diff)
android: bring in i915_dri and i965_dri automatically
Add i915_dri and i965_dri to libGLES_mesa's LOCAL_REQUIRED_MODULES when enabled.
Diffstat (limited to 'src/egl/main')
-rw-r--r--src/egl/main/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/egl/main/Android.mk b/src/egl/main/Android.mk
index c9e0729d807..d96da228aa7 100644
--- a/src/egl/main/Android.mk
+++ b/src/egl/main/Android.mk
@@ -75,6 +75,10 @@ endif
ifeq ($(strip $(MESA_BUILD_CLASSIC)),true)
LOCAL_CFLAGS += -D_EGL_BUILT_IN_DRIVER_DRI2
LOCAL_STATIC_LIBRARIES += libmesa_egl_dri2
+
+# require i915_dri and/or i965_dri
+LOCAL_REQUIRED_MODULES += \
+ $(addsuffix _dri, $(filter i915 i965, $(MESA_GPU_DRIVERS)))
endif
ifeq ($(strip $(MESA_BUILD_GALLIUM)),true)