From 48307eb81341cf5682be8e0b4b468746ff09a0a0 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 29 Jul 2014 00:27:32 +0100 Subject: android: dri: use the installed libdrm headers Saves us a few lines and brings us closer to the automake build. Drop DRM_TOP as it's not longer used. Signed-off-by: Emil Velikov --- src/mesa/drivers/dri/Android.mk | 3 +-- src/mesa/drivers/dri/i915/Android.mk | 3 +-- src/mesa/drivers/dri/i965/Android.mk | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/mesa/drivers/dri/Android.mk b/src/mesa/drivers/dri/Android.mk index e0cf51c58fd..5cb6d7b05ed 100644 --- a/src/mesa/drivers/dri/Android.mk +++ b/src/mesa/drivers/dri/Android.mk @@ -37,8 +37,7 @@ MESA_DRI_CFLAGS := \ MESA_DRI_C_INCLUDES := \ $(call intermediates-dir-for,STATIC_LIBRARIES,libmesa_dri_common) \ $(addprefix $(MESA_TOP)/, $(mesa_dri_common_INCLUDES)) \ - $(DRM_TOP) \ - $(DRM_TOP)/include/drm \ + $(TARGET_OUT_HEADERS)/libdrm \ external/expat/lib MESA_DRI_WHOLE_STATIC_LIBRARIES := \ diff --git a/src/mesa/drivers/dri/i915/Android.mk b/src/mesa/drivers/dri/i915/Android.mk index c4f74d9fa6a..02052f8d6f8 100644 --- a/src/mesa/drivers/dri/i915/Android.mk +++ b/src/mesa/drivers/dri/i915/Android.mk @@ -38,8 +38,7 @@ LOCAL_CFLAGS := \ LOCAL_C_INCLUDES := \ $(addprefix $(MESA_TOP)/,$(i915_INCLUDES)) \ - $(MESA_DRI_C_INCLUDES) \ - $(DRM_TOP)/intel + $(MESA_DRI_C_INCLUDES) LOCAL_SRC_FILES := \ $(i915_FILES) diff --git a/src/mesa/drivers/dri/i965/Android.mk b/src/mesa/drivers/dri/i965/Android.mk index 2c6446f8b38..7575882fa47 100644 --- a/src/mesa/drivers/dri/i965/Android.mk +++ b/src/mesa/drivers/dri/i965/Android.mk @@ -42,8 +42,7 @@ endif LOCAL_C_INCLUDES := \ $(i965_INCLUDES) \ - $(MESA_DRI_C_INCLUDES) \ - $(DRM_TOP)/intel + $(MESA_DRI_C_INCLUDES) LOCAL_SRC_FILES := \ $(i965_FILES) -- cgit v1.2.3