From db064b7054f883868f4971791d7a6bd60b563efe Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 29 Jul 2014 00:16:01 +0100 Subject: [PATCH] android: egl/dri2: use the installed libdrm headers 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 --- src/egl/drivers/dri2/Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/egl/drivers/dri2/Android.mk b/src/egl/drivers/dri2/Android.mk index c9e2b6484e3..679cc2e5cca 100644 --- a/src/egl/drivers/dri2/Android.mk +++ b/src/egl/drivers/dri2/Android.mk @@ -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 := \ -- 2.30.2