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.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/targets/egl-static/Android.mk b/src/gallium/targets/egl-static/Android.mk
index 88df6d12205..37244b5443a 100644
--- a/src/gallium/targets/egl-static/Android.mk
+++ b/src/gallium/targets/egl-static/Android.mk
@@ -45,10 +45,8 @@ LOCAL_C_INCLUDES := \
# swrast
LOCAL_CFLAGS += -DGALLIUM_SOFTPIPE
-# swrast only
-ifeq ($(MESA_GPU_DRIVERS),swrast)
-LOCAL_CFLAGS += -D_EGL_NO_DRM
-else
+# !swrast only
+ifneq ($(MESA_GPU_DRIVERS),swrast)
LOCAL_C_INCLUDES += \
$(DRM_TOP)/include/drm \
$(DRM_TOP)