From: Emil Velikov Date: Mon, 16 Jan 2017 15:45:33 +0000 (+0000) Subject: freedreno: automake: correctly set MKDIR_GEN X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a922c821255bfac22cf705244e5bd303a626bb55;p=mesa.git freedreno: automake: correctly set MKDIR_GEN Analogous to previous commit. Fixes: 4610e5ef28e "freedreno/ir3: fix sin/cos" Cc: "12.0 13.0" Cc: Rob Clark Cc: Nicolas Dechesne Reported-by: Nicolas Dechesne Signed-off-by: Emil Velikov Tested-by: Nicolas Dechesne --- diff --git a/src/gallium/drivers/freedreno/Makefile.am b/src/gallium/drivers/freedreno/Makefile.am index e5c344d7004..128c7fb5990 100644 --- a/src/gallium/drivers/freedreno/Makefile.am +++ b/src/gallium/drivers/freedreno/Makefile.am @@ -9,6 +9,7 @@ AM_CFLAGS = \ $(GALLIUM_DRIVER_CFLAGS) \ $(FREEDRENO_CFLAGS) +MKDIR_GEN = $(AM_V_at)$(MKDIR_P) $(@D) ir3/ir3_nir_trig.c: ir3/ir3_nir_trig.py $(top_srcdir)/src/compiler/nir/nir_algebraic.py $(MKDIR_GEN) $(AM_V_GEN) PYTHONPATH=$(top_srcdir)/src/compiler/nir $(PYTHON2) $(PYTHON_FLAGS) $(srcdir)/ir3/ir3_nir_trig.py > $@ || ($(RM) $@; false)