summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-07-29 00:22:05 +0100
committerEmil Velikov <[email protected]>2014-08-13 00:46:56 +0100
commitc1cc3f2f194da54525607435b9e272f66d83c6cb (patch)
tree85bad2bd3340c358eb5347a648123c81bb39ca7d /src
parent5f3022e97f252a835af516ec7ba1aba964650330 (diff)
android: gallium: use the installed libdrm headers
Saves us a few lines and brings us closer to the automake build. Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/winsys/i915/drm/Android.mk5
-rw-r--r--src/gallium/winsys/intel/drm/Android.mk5
-rw-r--r--src/gallium/winsys/svga/drm/Android.mk3
3 files changed, 3 insertions, 10 deletions
diff --git a/src/gallium/winsys/i915/drm/Android.mk b/src/gallium/winsys/i915/drm/Android.mk
index c72d203bbca..ffcf4d51dfe 100644
--- a/src/gallium/winsys/i915/drm/Android.mk
+++ b/src/gallium/winsys/i915/drm/Android.mk
@@ -30,10 +30,7 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(C_SOURCES)
-LOCAL_C_INCLUDES := \
- $(DRM_TOP) \
- $(DRM_TOP)/include/drm \
- $(DRM_TOP)/intel
+LOCAL_C_INCLUDES := $(TARGET_OUT_HEADERS)/libdrm
LOCAL_MODULE := libmesa_winsys_i915
diff --git a/src/gallium/winsys/intel/drm/Android.mk b/src/gallium/winsys/intel/drm/Android.mk
index a375b59f7ab..a39188329e2 100644
--- a/src/gallium/winsys/intel/drm/Android.mk
+++ b/src/gallium/winsys/intel/drm/Android.mk
@@ -29,10 +29,7 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(C_SOURCES)
-LOCAL_C_INCLUDES := \
- $(DRM_TOP) \
- $(DRM_TOP)/include/drm \
- $(DRM_TOP)/intel
+LOCAL_C_INCLUDES := $(TARGET_OUT_HEADERS)/libdrm
LOCAL_MODULE := libmesa_winsys_intel
diff --git a/src/gallium/winsys/svga/drm/Android.mk b/src/gallium/winsys/svga/drm/Android.mk
index f6398e0ca23..a26138ec1ee 100644
--- a/src/gallium/winsys/svga/drm/Android.mk
+++ b/src/gallium/winsys/svga/drm/Android.mk
@@ -35,8 +35,7 @@ LOCAL_CFLAGS := -D_FILE_OFFSET_BITS=64
LOCAL_C_INCLUDES := \
$(GALLIUM_TOP)/drivers/svga \
$(GALLIUM_TOP)/drivers/svga/include \
- $(DRM_TOP) \
- $(DRM_TOP)/include/drm
+ $(TARGET_OUT_HEADERS)/libdrm
LOCAL_MODULE := libmesa_winsys_svga