mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 14:23:38 +00:00
build: add support for python3.11 and higher (#10392)
python3.11 is out but fails to run the makefile currently this supports python versions from 3.6 to 3.99 with the python3 binary it also checks specifically for 3.11 as it is the latest version out Signed-off-by: Oscar Molnar <oscar@tymscar.com>
This commit is contained in:
parent
5ae0cbf784
commit
a18b6cfebd
@ -157,20 +157,22 @@ $(eval $(call SetupHostCommand,perl,Please install Perl 5.x, \
|
|||||||
$(eval $(call CleanupPython2))
|
$(eval $(call CleanupPython2))
|
||||||
|
|
||||||
$(eval $(call SetupHostCommand,python,Please install Python >= 3.6, \
|
$(eval $(call SetupHostCommand,python,Please install Python >= 3.6, \
|
||||||
|
python3.11 -V 2>&1 | grep 'Python 3', \
|
||||||
python3.10 -V 2>&1 | grep 'Python 3', \
|
python3.10 -V 2>&1 | grep 'Python 3', \
|
||||||
python3.9 -V 2>&1 | grep 'Python 3', \
|
python3.9 -V 2>&1 | grep 'Python 3', \
|
||||||
python3.8 -V 2>&1 | grep 'Python 3', \
|
python3.8 -V 2>&1 | grep 'Python 3', \
|
||||||
python3.7 -V 2>&1 | grep 'Python 3', \
|
python3.7 -V 2>&1 | grep 'Python 3', \
|
||||||
python3.6 -V 2>&1 | grep 'Python 3', \
|
python3.6 -V 2>&1 | grep 'Python 3', \
|
||||||
python3 -V 2>&1 | grep -E 'Python 3\.([6-9]|10)\.?'))
|
python3 -V 2>&1 | grep -E 'Python 3\.([6-9]|[0-9][0-9])\.?'))
|
||||||
|
|
||||||
$(eval $(call SetupHostCommand,python3,Please install Python >= 3.6, \
|
$(eval $(call SetupHostCommand,python3,Please install Python >= 3.6, \
|
||||||
|
python3.11 -V 2>&1 | grep 'Python 3', \
|
||||||
python3.10 -V 2>&1 | grep 'Python 3', \
|
python3.10 -V 2>&1 | grep 'Python 3', \
|
||||||
python3.9 -V 2>&1 | grep 'Python 3', \
|
python3.9 -V 2>&1 | grep 'Python 3', \
|
||||||
python3.8 -V 2>&1 | grep 'Python 3', \
|
python3.8 -V 2>&1 | grep 'Python 3', \
|
||||||
python3.7 -V 2>&1 | grep 'Python 3', \
|
python3.7 -V 2>&1 | grep 'Python 3', \
|
||||||
python3.6 -V 2>&1 | grep 'Python 3', \
|
python3.6 -V 2>&1 | grep 'Python 3', \
|
||||||
python3 -V 2>&1 | grep -E 'Python 3\.([6-9]|10)\.?'))
|
python3 -V 2>&1 | grep -E 'Python 3\.([6-9]|[0-9][0-9])\.?'))
|
||||||
|
|
||||||
$(eval $(call TestHostCommand,python3-distutils, \
|
$(eval $(call TestHostCommand,python3-distutils, \
|
||||||
Please install the Python3 distutils module, \
|
Please install the Python3 distutils module, \
|
||||||
|
Loading…
Reference in New Issue
Block a user