android: dri: use the installed libdrm headers
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 28 Jul 2014 23:27:32 +0000 (00:27 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 12 Aug 2014 23:46:56 +0000 (00:46 +0100)
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 <emil.l.velikov@gmail.com>
Android.mk
src/mesa/drivers/dri/Android.mk
src/mesa/drivers/dri/i915/Android.mk
src/mesa/drivers/dri/i965/Android.mk

index b50a8e0712e15a43856f092131829bd90cbe9b5b..591c2fc5143b6410516e1c080b75d0c4307a7327 100644 (file)
@@ -38,7 +38,6 @@ MESA_ANDROID_VERSION := $(MESA_ANDROID_MAJOR_VERSION).$(MESA_ANDROID_MINOR_VERSI
 MESA_COMMON_MK := $(MESA_TOP)/Android.common.mk
 MESA_PYTHON2 := python
 
-DRM_TOP := external/drm
 DRM_GRALLOC_TOP := hardware/drm_gralloc
 
 classic_drivers := i915 i965
index e0cf51c58fdad6d76fdcab3aadde64e84d78a42a..5cb6d7b05ed4273507d9e17d8afa7880f38cb4a0 100644 (file)
@@ -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 := \
index c4f74d9fa6a795f1cb101812bf2cba6be551696d..02052f8d6f8a6d7c22a3118218899ae3c93ecf8d 100644 (file)
@@ -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)
index 2c6446f8b385aac1a8265fe15ca782824f3ea6c2..7575882fa473cc705ca96d55eac28123201a7cc2 100644 (file)
@@ -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)