android: egl/dri2: use the installed libdrm headers
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 28 Jul 2014 23:16:01 +0000 (00:16 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 12 Aug 2014 23:46:56 +0000 (00:46 +0100)
Trying to get rid of the hardcoded dependency of DRM_TOP which
expects that mesa is localted in /external/drm. Will

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/egl/drivers/dri2/Android.mk

index c9e2b6484e3228e2aee2e782bd73cb38e2161cb6..679cc2e5cca56ea7d8eebdcd548300696ca8ada6 100644 (file)
@@ -40,7 +40,7 @@ LOCAL_C_INCLUDES := \
        $(MESA_TOP)/src/mapi \
        $(MESA_TOP)/src/egl/main \
        $(MESA_TOP)/src/loader \
-       $(DRM_TOP)/include/drm \
+       $(TARGET_OUT_HEADERS)/libdrm \
        $(DRM_GRALLOC_TOP)
 
 LOCAL_STATIC_LIBRARIES := \