Don't use python 3
Now there are not files that require python 3, so for now just remove the python 3 dependency and use python 2. I think the right plan is to just get all of the python ready for python 3, and then use whatever python is available. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> cc: 12.0 <mesa-stable@lists.freedesktop.org>
This commit is contained in:
committed by
Jason Ekstrand
parent
ab31817fed
commit
604010a7ed
@@ -23,14 +23,14 @@ include Makefile.sources
|
||||
|
||||
BUILT_SOURCES = $(GENXML_GENERATED_FILES)
|
||||
|
||||
PYTHON3_GEN = $(AM_V_GEN)$(PYTHON3) $(PYTHON_FLAGS)
|
||||
PYTHON_GEN = $(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS)
|
||||
|
||||
SUFFIXES = _pack.h .xml
|
||||
|
||||
$(BUILT_SOURCES): gen_pack_header.py
|
||||
|
||||
.xml_pack.h:
|
||||
$(PYTHON3_GEN) $(srcdir)/gen_pack_header.py $< > $@
|
||||
$(PYTHON_GEN) $(srcdir)/gen_pack_header.py $< > $@
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user