[Mesa-dev] [PATCH] android: intel/compiler: fix include paths

Mauro Rossi issor.oruam at gmail.com
Tue Mar 14 00:00:34 UTC 2017


Fixes the following building error:

out/target/product/x86_64/obj_x86/STATIC_LIBRARIES/libmesa_intel_compiler_intermediates/compiler/brw_nir_trig_workarounds.c:1:10: fatal error: 'brw_nir.h' file not found
         ^
1 error generated.

Fixes: 700bebb "i965: Move the back-end compiler to src/intel/compiler"
---
 src/intel/Android.compiler.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/intel/Android.compiler.mk b/src/intel/Android.compiler.mk
index 8bbfb1c..48a19a0 100644
--- a/src/intel/Android.compiler.mk
+++ b/src/intel/Android.compiler.mk
@@ -43,7 +43,8 @@ LOCAL_C_INCLUDES := \
 	$(MESA_TOP)/src/gallium/include \
 	$(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_glsl,,)/glsl \
 	$(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_nir,,)/nir \
-	$(MESA_TOP)/src/compiler/nir
+	$(MESA_TOP)/src/compiler/nir \
+	$(MESA_TOP)/src/intel/compiler
 
 LOCAL_SHARED_LIBRARIES := \
 	libdrm_intel
-- 
2.10.2



More information about the mesa-dev mailing list