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>
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
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 := \
LOCAL_C_INCLUDES := \
$(addprefix $(MESA_TOP)/,$(i915_INCLUDES)) \
- $(MESA_DRI_C_INCLUDES) \
- $(DRM_TOP)/intel
+ $(MESA_DRI_C_INCLUDES)
LOCAL_SRC_FILES := \
$(i915_FILES)
LOCAL_C_INCLUDES := \
$(i965_INCLUDES) \
- $(MESA_DRI_C_INCLUDES) \
- $(DRM_TOP)/intel
+ $(MESA_DRI_C_INCLUDES)
LOCAL_SRC_FILES := \
$(i965_FILES)