From 2e748183748734627533817663b38ede4acb0e55 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sat, 26 Jul 2014 23:20:44 +0100 Subject: [PATCH] android: targets/egl-static: add correct include for DRM headers Android build never really installs the headers, as such we need to explicitly add their location in the source tree otherwise it will fail to find them. v2: Android now installs the headers, so let's use that ;) Signed-off-by: Emil Velikov --- src/gallium/targets/egl-static/Android.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gallium/targets/egl-static/Android.mk b/src/gallium/targets/egl-static/Android.mk index d25c43225ca..adaf582e15e 100644 --- a/src/gallium/targets/egl-static/Android.mk +++ b/src/gallium/targets/egl-static/Android.mk @@ -47,9 +47,7 @@ LOCAL_CFLAGS += -DGALLIUM_SOFTPIPE # !swrast only ifneq ($(MESA_GPU_DRIVERS),swrast) -LOCAL_C_INCLUDES += \ - $(DRM_TOP)/include/drm \ - $(DRM_TOP) +LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/libdrm endif ifneq ($(filter freedreno, $(MESA_GPU_DRIVERS)),) -- 2.30.2