summaryrefslogtreecommitdiff
path: root/lib/mesa/src/intel/Makefile.isl.am
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/intel/Makefile.isl.am')
-rw-r--r--lib/mesa/src/intel/Makefile.isl.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/mesa/src/intel/Makefile.isl.am b/lib/mesa/src/intel/Makefile.isl.am
index 5a317f522..fe4d43f60 100644
--- a/lib/mesa/src/intel/Makefile.isl.am
+++ b/lib/mesa/src/intel/Makefile.isl.am
@@ -57,11 +57,13 @@ isl_libisl_gen9_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=90
BUILT_SOURCES += $(ISL_GENERATED_FILES)
+if REGEN_SOURCES
isl/isl_format_layout.c: isl/gen_format_layout.py \
isl/isl_format_layout.csv
$(MKDIR_GEN)
$(PYTHON_GEN) $(srcdir)/isl/gen_format_layout.py \
--csv $(srcdir)/isl/isl_format_layout.csv --out $@
+endif
# ----------------------------------------------------------------------------
# Tests