[Mesa-dev] [PATCH 02/19] freedreno: automake: correctly set MKDIR_GEN

Emil Velikov emil.l.velikov at gmail.com
Mon Jan 16 15:45:33 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

Analogous to previous commit.

Fixes: 4610e5ef28e "freedreno/ir3: fix sin/cos"
Cc: "12.0 13.0" <mesa-dev at lists.freedesktop.org>
Cc: Rob Clark <robclark at freedesktop.org>
Cc: Nicolas Dechesne <nicolas.dechesne at linaro.org>
Reported-by: Nicolas Dechesne <nicolas.dechesne at linaro.org>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/gallium/drivers/freedreno/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/freedreno/Makefile.am b/src/gallium/drivers/freedreno/Makefile.am
index e5c344d700..128c7fb599 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)
-- 
2.11.0



More information about the mesa-dev mailing list