From 792041ebe5d6ccfdd03cf6903f4942aa115387c6 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 20 Jul 2014 22:21:23 +0100 Subject: 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" Cc: Rob Clark Cc: freedreno@lists.freedesktop.org Signed-off-by: Emil Velikov --- src/gallium/targets/egl-static/Android.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/targets/egl-static/Android.mk') diff --git a/src/gallium/targets/egl-static/Android.mk b/src/gallium/targets/egl-static/Android.mk index 00569dd0183..d25c43225ca 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 -- cgit v1.2.3