[Mesa-dev] [PATCH] Android: add missing u_math.h include path for libmesa_isl
Rob Herring
robh at kernel.org
Mon Jun 13 18:45:53 UTC 2016
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 \
--
2.7.4
More information about the mesa-dev
mailing list