[Mesa-dev] [PATCH] Android: add missing u_math.h include path for libmesa_isl

Kenneth Graunke kenneth at whitecape.org
Mon Jun 13 19:18:01 UTC 2016


On Monday, June 13, 2016 1:45:53 PM PDT Rob Herring wrote:
> 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.
> 
> Cc: Kenneth Graunke <kenneth at whitecape.org>
> Cc: Emil Velikov <emil.l.velikov at gmail.com>
> Signed-off-by: Rob Herring <robh at kernel.org>
> ---
>  src/intel/isl/Android.mk | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/intel/isl/Android.mk b/src/intel/isl/Android.mk
> index 3134981..98e244f 100644
> --- a/src/intel/isl/Android.mk
> +++ b/src/intel/isl/Android.mk
> @@ -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 \
> 

Sorry about that!  Thanks for the fix!

Reviewed-by: Kenneth Garunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160613/a148657a/attachment.sig>


More information about the mesa-dev mailing list