summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl-static
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-07-26 23:20:44 +0100
committerEmil Velikov <[email protected]>2014-08-13 00:46:54 +0100
commit2e748183748734627533817663b38ede4acb0e55 (patch)
tree2ba132fd0e4e92708ac90a82440da84a5fc74133 /src/gallium/targets/egl-static
parentb72b826ef8e8a4384a7148049a86f2fea116ca4f (diff)
android: targets/egl-static: add correct include for DRM headers
Android build never really installs the headers, as such we need to explicitly add their location in the source tree otherwise it will fail to find them. v2: Android now installs the headers, so let's use that ;) Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/targets/egl-static')
-rw-r--r--src/gallium/targets/egl-static/Android.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/targets/egl-static/Android.mk b/src/gallium/targets/egl-static/Android.mk
index d25c43225ca..adaf582e15e 100644
--- a/src/gallium/targets/egl-static/Android.mk
+++ b/src/gallium/targets/egl-static/Android.mk
@@ -47,9 +47,7 @@ LOCAL_CFLAGS += -DGALLIUM_SOFTPIPE
# !swrast only
ifneq ($(MESA_GPU_DRIVERS),swrast)
-LOCAL_C_INCLUDES += \
- $(DRM_TOP)/include/drm \
- $(DRM_TOP)
+LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/libdrm
endif
ifneq ($(filter freedreno, $(MESA_GPU_DRIVERS)),)