Saves us a few lines and brings us closer to the automake build.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
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
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
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