summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-01-16 15:45:32 +0000
committerEmil Velikov <[email protected]>2017-01-27 17:56:54 +0000
commit5eed48d23780e812ca5c53fecc59a419962c7dd6 (patch)
tree0c27525511cf64e4e4fd0b912f556ac89ee95462 /src/mesa/drivers/dri/i965
parent1ee2ae834865c38470a051c26c7b60e398c8b94e (diff)
i965: automake: correctly set MKDIR_GEN
Otherwise we might end up w/o the respective folder (depending on autotools version) and fail at build time. Fixes: bfd17c76c12 "i965: Port INTEL_PRECISE_TRIG=1 to NIR." Cc: "12.0 13.0" <[email protected]> Cc: Kenneth Graunke <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/Makefile.am b/src/mesa/drivers/dri/i965/Makefile.am
index 2e22d65b91d..1b917e7bff7 100644
--- a/src/mesa/drivers/dri/i965/Makefile.am
+++ b/src/mesa/drivers/dri/i965/Makefile.am
@@ -45,6 +45,7 @@ AM_CFLAGS = \
AM_CXXFLAGS = $(AM_CFLAGS)
+MKDIR_GEN = $(AM_V_at)$(MKDIR_P) $(@D)
brw_nir_trig_workarounds.c: brw_nir_trig_workarounds.py $(top_srcdir)/src/compiler/nir/nir_algebraic.py
$(MKDIR_GEN)
$(AM_V_GEN) PYTHONPATH=$(top_srcdir)/src/compiler/nir $(PYTHON2) $(PYTHON_FLAGS) $(srcdir)/brw_nir_trig_workarounds.py > $@ || ($(RM) $@; false)