From: Emil Velikov Date: Sat, 26 Jul 2014 22:20:44 +0000 (+0100) Subject: android: targets/egl-static: add correct include for DRM headers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e748183748734627533817663b38ede4acb0e55;p=mesa.git 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 --- 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)),)