summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)