Android: add missing u_math.h include path for libmesa_isl
authorRob Herring <robh@kernel.org>
Mon, 13 Jun 2016 18:45:53 +0000 (13:45 -0500)
committerMark Janes <mark.a.janes@intel.com>
Tue, 28 Jun 2016 19:48:46 +0000 (12:48 -0700)
Commit 87d062a94080 ("i965: Fix shared local memory size for Gen9+.")
added u_math.h include which broke the Android build:

In file included from external/mesa3d/src/intel/isl/isl_storage_image.c:25:
In file included from external/mesa3d/src/mesa/drivers/dri/i965/brw_compiler.h:29:
external/mesa3d/src/mesa/main/macros.h:35:10: fatal error: 'util/u_math.h' file not found
         ^

Add the missing include paths for libmesa_isl.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Kenneth Garunke <kenneth@whitecape.org>
src/intel/isl/Android.mk

index ff0c8c9f307168f44ab38bd605872f3202494209..c828c5cd6bf0a77077ca9028dfff261bea6d447a 100644 (file)
@@ -116,6 +116,8 @@ LOCAL_MODULE := libmesa_isl
 LOCAL_SRC_FILES := $(ISL_FILES)
 
 LOCAL_C_INCLUDES := \
+       $(MESA_TOP)/src/gallium/include \
+       $(MESA_TOP)/src/gallium/auxiliary \
        $(MESA_TOP)/src/mapi \
        $(MESA_TOP)/src/mesa \
        $(MESA_TOP)/src/mesa/drivers/dri/i965 \