android: targets/egl-static: add correct include for DRM headers
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 26 Jul 2014 22:20:44 +0000 (23:20 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 12 Aug 2014 23:46:54 +0000 (00:46 +0100)
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 <emil.l.velikov@gmail.com>
src/gallium/targets/egl-static/Android.mk

index d25c43225cabe79e15755c2a926e28f0785dad4b..adaf582e15eb0664c8ff1f706aa8783441016e9c 100644 (file)
@@ -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)),)