summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl-static/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/egl-static/Android.mk')
-rw-r--r--src/gallium/targets/egl-static/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/targets/egl-static/Android.mk b/src/gallium/targets/egl-static/Android.mk
index 8a65585b72b..ebc89ead454 100644
--- a/src/gallium/targets/egl-static/Android.mk
+++ b/src/gallium/targets/egl-static/Android.mk
@@ -46,6 +46,10 @@ LOCAL_C_INCLUDES := \
# swrast
LOCAL_CFLAGS += -DGALLIUM_SOFTPIPE
+ifneq ($(filter r600g, $(MESA_GPU_DRIVERS)),)
+LOCAL_CFLAGS += -D_EGL_PIPE_R600=1
+endif
+
LOCAL_MODULE := libmesa_egl_gallium
include $(GALLIUM_COMMON_MK)