configure: allow building with python3
Pretty much all of the scripts are python2+3 compatible. Check and allow using python3, while adjusting the PYTHON2 refs. Note: - python3.4 is used as it's the earliest supported version - python3 chosen prior to python2 Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Acked-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
committed by
Emil Velikov
parent
c51e7486d9
commit
ae7898dfdb
+1
-1
@@ -22,7 +22,7 @@
|
||||
.PHONY: git_sha1.h
|
||||
git_sha1.h:
|
||||
@echo "updating $@"
|
||||
@$(PYTHON2) $(top_srcdir)/bin/git_sha1_gen.py --output $@
|
||||
@$(PYTHON) $(top_srcdir)/bin/git_sha1_gen.py --output $@
|
||||
|
||||
BUILT_SOURCES = git_sha1.h
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
Reference in New Issue
Block a user