summaryrefslogtreecommitdiffstats
path: root/src/compiler/Makefile.nir.am
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2016-10-26 15:09:54 +0200
committerEmil Velikov <[email protected]>2016-10-26 14:54:26 +0100
commitaca491341b57fac05901943d693e264b589925f5 (patch)
tree9cc0fe084a7303d52004c16bcbd90e792d935269 /src/compiler/Makefile.nir.am
parent4fa799ae04c02b77176797c854f9d1b9b4290a2e (diff)
compiler: avoid warning about redefinition of PYTHON_GEN
PYTHON_GEN is defined to the exact same thing in both Makefile.glsl.am and Makefile.nir.am. This makes automake complain, so let's lift the definition up to Makefile.am, the same way as MKDIR_GEN. Signed-off-by: Erik Faye-Lund <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Tested-by: Eric Engestrom <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/compiler/Makefile.nir.am')
-rw-r--r--src/compiler/Makefile.nir.am2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/compiler/Makefile.nir.am b/src/compiler/Makefile.nir.am
index 6cef3229e46..f4dd8eac9d1 100644
--- a/src/compiler/Makefile.nir.am
+++ b/src/compiler/Makefile.nir.am
@@ -31,8 +31,6 @@ nir_libnir_la_SOURCES = \
$(SPIRV_FILES) \
$(NIR_GENERATED_FILES)
-PYTHON_GEN = $(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS)
-
nir/nir_builder_opcodes.h: nir/nir_opcodes.py nir/nir_builder_opcodes_h.py
$(MKDIR_GEN)
$(PYTHON_GEN) $(srcdir)/nir/nir_builder_opcodes_h.py > $@ || ($(RM) $@; false)