From: Chia-I Wu Date: Fri, 25 Nov 2011 12:44:12 +0000 (+0800) Subject: android: bring in i915_dri and i965_dri automatically X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=496f68bb9d3760075c4a446ddf832dce6cf6cbc7;p=mesa.git android: bring in i915_dri and i965_dri automatically Add i915_dri and i965_dri to libGLES_mesa's LOCAL_REQUIRED_MODULES when enabled. --- 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)