]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: remove PYTHON variable
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 1 Feb 2021 01:00:24 +0000 (10:00 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 1 Feb 2021 01:37:19 +0000 (10:37 +0900)
commit281bdcc0805c42da7ae9b2f0842a1d89f7324f2f
tree4de78017c0ea2935fd301b03282f75eafb789931
parente7481979be47847f933421b4f758e029f27c872f
kbuild: remove PYTHON variable

Python retired in 2020, and some distributions do not provide the
'python' command any more.

As in commit 1335b7924bcf ("scripts: switch explicitly to Python 3"),
we need to use more specific 'python3' to invoke scripts even if they
are written in a way compatible with both Python 2 and 3.

This commit removes the variable 'PYTHON', and switches the existing
users to 'PYTHON3'.

BTW, PEP 394 (https://www.python.org/dev/peps/pep-0394/) is a helpful
material.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Documentation/Makefile
Documentation/kbuild/makefiles.rst
Makefile
arch/ia64/Makefile
arch/ia64/scripts/unwcheck.py
scripts/jobserver-exec