mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-24 03:00:30 +01:00
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:
parent
710b1d2e66
commit
147a2d25ad
2 changed files with 3 additions and 1 deletions
|
|
@ -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
0
src/intel/genxml/gen_pack_header.py
Executable file → Normal file
Loading…
Add table
Reference in a new issue