aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/genxml/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/genxml/Makefile.am')
-rw-r--r--src/intel/genxml/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/intel/genxml/Makefile.am b/src/intel/genxml/Makefile.am
index 77b2f193d9f..be3ad4164e9 100644
--- a/src/intel/genxml/Makefile.am
+++ b/src/intel/genxml/Makefile.am
@@ -26,7 +26,9 @@ BUILT_SOURCES = \
gen8_pack.h \
gen9_pack.h
+PYTHON3_GEN = $(AM_V_GEN)$(PYTHON3) $(PYTHON_FLAGS)
+
%_pack.h : %.xml gen_pack_header.py
- $(AM_V_GEN) $(srcdir)/gen_pack_header.py $< > $@
+ $(PYTHON3_GEN) $(srcdir)/gen_pack_header.py $< > $@
CLEANFILES = $(BUILT_SOURCES)