summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl-static/egl.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-08-25 21:36:19 +0800
committerChia-I Wu <[email protected]>2011-08-27 18:02:11 +0800
commit09b5f1fd61bfbb5afdaee81687a9c74c70a62b8a (patch)
treee38f04d23943d6a28b5ee0defb2eb50ca4f08fbf /src/gallium/targets/egl-static/egl.c
parent534df791878ed90cf7c2e4f14482ff03b7c41e77 (diff)
android: make DRM optional
For BOARD_GPU_DRIVERS=swrast build, DRM is not needed.
Diffstat (limited to 'src/gallium/targets/egl-static/egl.c')
-rw-r--r--src/gallium/targets/egl-static/egl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/targets/egl-static/egl.c b/src/gallium/targets/egl-static/egl.c
index 5a66e3c34c3..adf1229caba 100644
--- a/src/gallium/targets/egl-static/egl.c
+++ b/src/gallium/targets/egl-static/egl.c
@@ -109,7 +109,7 @@ out:
return (*chip_id >= 0);
}
-#elif defined(PIPE_OS_ANDROID)
+#elif defined(PIPE_OS_ANDROID) && !defined(_EGL_NO_DRM)
#include <xf86drm.h>
/* for i915 */