Mesa (master): android: bring in i915_dri and i965_dri automatically
Chia-I Wu
olv at kemper.freedesktop.org
Sat Nov 26 03:42:37 UTC 2011
Module: Mesa
Branch: master
Commit: 496f68bb9d3760075c4a446ddf832dce6cf6cbc7
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=496f68bb9d3760075c4a446ddf832dce6cf6cbc7
Author: Chia-I Wu <olv at lunarg.com>
Date: Fri Nov 25 20:44:12 2011 +0800
android: bring in i915_dri and i965_dri automatically
Add i915_dri and i965_dri to libGLES_mesa's LOCAL_REQUIRED_MODULES when
enabled.
---
src/egl/main/Android.mk | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/egl/main/Android.mk b/src/egl/main/Android.mk
index c9e0729..d96da22 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)
More information about the mesa-commit
mailing list