Module: Mesa Branch: master Commit: 147a2d25adcfc3af96d3a7182ce6d367fffb9522 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=147a2d25adcfc3af96d3a7182ce6d367fffb9522
Author: Jonathan Gray <[email protected]> Date: Sat Apr 23 17:42:38 2016 +1000 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 <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> --- src/intel/genxml/Makefile.am | 4 +++- src/intel/genxml/gen_pack_header.py | 0 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/intel/genxml/Makefile.am b/src/intel/genxml/Makefile.am index 77b2f19..be3ad41 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) diff --git a/src/intel/genxml/gen_pack_header.py b/src/intel/genxml/gen_pack_header.py old mode 100755 new mode 100644 _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
