genxml: use PYTHON3

Allows the build to work when the python3 binary is not "python3".

v2: remove x bit from the script at Emil's suggestion

Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Jonathan Gray 2016-04-23 17:42:38 +10:00 committed by Kenneth Graunke
parent 710b1d2e66
commit 147a2d25ad
2 changed files with 3 additions and 1 deletions

View File

@ -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)

0
src/intel/genxml/gen_pack_header.py Executable file → Normal file
View File