summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl-static
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-07-20 22:21:23 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2014-08-13 00:46:53 +0100
commit792041ebe5d6ccfdd03cf6903f4942aa115387c6 (patch)
treea298c3d553124167f996ab1cf342ab68bad591e0 /src/gallium/targets/egl-static
parentbf05e067577a8d8e87a377dfb357806b67b6afca (diff)
downloadexternal_mesa3d-792041ebe5d6ccfdd03cf6903f4942aa115387c6.zip
external_mesa3d-792041ebe5d6ccfdd03cf6903f4942aa115387c6.tar.gz
external_mesa3d-792041ebe5d6ccfdd03cf6903f4942aa115387c6.tar.bz2
android: egl/main: add/enable freedreno
For all everyone willing to give the freedreno driver a go they can now build it under Android. Cc: "10.1 10.2" <mesa-stable@lists.freedesktop.org> Cc: Rob Clark <robclark@freedesktop.org> Cc: freedreno@lists.freedesktop.org Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'src/gallium/targets/egl-static')
-rw-r--r--src/gallium/targets/egl-static/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/targets/egl-static/Android.mk b/src/gallium/targets/egl-static/Android.mk
index 00569dd..d25c432 100644
--- a/src/gallium/targets/egl-static/Android.mk
+++ b/src/gallium/targets/egl-static/Android.mk
@@ -52,6 +52,9 @@ LOCAL_C_INCLUDES += \
$(DRM_TOP)
endif
+ifneq ($(filter freedreno, $(MESA_GPU_DRIVERS)),)
+LOCAL_CFLAGS += -DGALLIUM_FREEDRENO
+endif
ifneq ($(filter i915g, $(MESA_GPU_DRIVERS)),)
LOCAL_CFLAGS += -DGALLIUM_I915
endif