summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/Makefile.am
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2016-04-19 14:51:02 -0500
committerEmil Velikov <[email protected]>2016-04-21 14:43:26 +0100
commitb27c85c4c089109339fc37135d0a4d2574024632 (patch)
tree8bf35b1ff4a6efbd8059fda0e3db9034abbfa8f8 /src/mesa/drivers/dri/i965/Makefile.am
parent30239ba056268a1f5545b1a48de4aae8953042df (diff)
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 <[email protected]> Signed-off-by: Rob Herring <[email protected]> Tested-by: Chih-Wei Huang <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/Makefile.am')
-rw-r--r--src/mesa/drivers/dri/i965/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/Makefile.am b/src/mesa/drivers/dri/i965/Makefile.am
index a41c8305a80..c7f055d5402 100644
--- a/src/mesa/drivers/dri/i965/Makefile.am
+++ b/src/mesa/drivers/dri/i965/Makefile.am
@@ -50,7 +50,12 @@ noinst_LTLIBRARIES = libi965_dri.la libi965_compiler.la
libi965_dri_la_SOURCES = $(i965_FILES)
libi965_dri_la_LIBADD = libi965_compiler.la $(INTEL_LIBS)
-libi965_compiler_la_SOURCES = $(i965_compiler_FILES)
+libi965_compiler_la_SOURCES = \
+ $(i965_compiler_FILES) \
+ $(i965_compiler_GENERATED_FILES)
+
+BUILT_SOURCES += $(i965_compiler_GENERATED_FILES)
+CLEANFILES += $(BUILT_SOURCES)
TEST_LIBS = \
libi965_compiler.la \