mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-04 09:33:50 +01:00
prereq-build: recognize Python 3.10
Fedora 35 contains Python 3.10 as default version. Make use of it.
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
[fix commit subject]
Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit e1c03ca185)
This commit is contained in:
parent
913403b587
commit
9b258f220f
1 changed files with 2 additions and 0 deletions
|
|
@ -153,6 +153,7 @@ $(eval $(call SetupHostCommand,perl,Please install Perl 5.x, \
|
|||
$(eval $(call CleanupPython2))
|
||||
|
||||
$(eval $(call SetupHostCommand,python,Please install Python >= 3.5, \
|
||||
python3.10 -V 2>&1 | grep 'Python 3', \
|
||||
python3.9 -V 2>&1 | grep 'Python 3', \
|
||||
python3.8 -V 2>&1 | grep 'Python 3', \
|
||||
python3.7 -V 2>&1 | grep 'Python 3', \
|
||||
|
|
@ -161,6 +162,7 @@ $(eval $(call SetupHostCommand,python,Please install Python >= 3.5, \
|
|||
python3 -V 2>&1 | grep -E 'Python 3\.[5-9]\.?'))
|
||||
|
||||
$(eval $(call SetupHostCommand,python3,Please install Python >= 3.5, \
|
||||
python3.10 -V 2>&1 | grep 'Python 3', \
|
||||
python3.9 -V 2>&1 | grep 'Python 3', \
|
||||
python3.8 -V 2>&1 | grep 'Python 3', \
|
||||
python3.7 -V 2>&1 | grep 'Python 3', \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue