From b27c85c4c089109339fc37135d0a4d2574024632 Mon Sep 17 00:00:00 2001 From: Rob Herring Date: Tue, 19 Apr 2016 14:51:02 -0500 Subject: i965: add build rule for brw_nir_trig_workarounds.c on Android Commit bfd17c76c126 ("i965: Port INTEL_PRECISE_TRIG=1 to NIR.") added a generated file brw_nir_trig_workarounds.c which broke the Android build. Add the necessary makefiles to the Android build. Cc: Kenneth Graunke Signed-off-by: Rob Herring Tested-by: Chih-Wei Huang Reviewed-by: Emil Velikov --- src/mesa/drivers/dri/i965/Makefile.sources | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/i965/Makefile.sources') diff --git a/src/mesa/drivers/dri/i965/Makefile.sources b/src/mesa/drivers/dri/i965/Makefile.sources index 72d0e079338..632f2e97f0b 100644 --- a/src/mesa/drivers/dri/i965/Makefile.sources +++ b/src/mesa/drivers/dri/i965/Makefile.sources @@ -44,7 +44,6 @@ i965_compiler_FILES = \ brw_nir.c \ brw_nir_analyze_boolean_resolves.c \ brw_nir_attribute_workarounds.c \ - brw_nir_trig_workarounds.c \ brw_nir_opt_peephole_ffma.c \ brw_nir_uniforms.cpp \ brw_packed_float.c \ @@ -92,6 +91,9 @@ i965_compiler_FILES = \ intel_resolve_map.c \ intel_resolve_map.h +i965_compiler_GENERATED_FILES = \ + brw_nir_trig_workarounds.c + i965_FILES = \ brw_binding_tables.c \ brw_blorp_blit.cpp \ -- cgit v1.2.3