prereq-build/u-boot: add Python 3.14 support

Python 3.14 is the default version on Fedora 43/44.

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23243
Signed-off-by: Test Dev <dev@example.org>
This commit is contained in:
Etienne Champetier 2026-01-24 16:31:03 -05:00 committed by Test Dev
parent faf8f3760d
commit 0a9fcdf571
No known key found for this signature in database
2 changed files with 3 additions and 0 deletions

View file

@ -187,6 +187,7 @@ $(eval $(call SetupHostCommand,perl,Please install Perl 5.x, \
perl --version | grep "perl.*v5")) perl --version | grep "perl.*v5"))
$(eval $(call SetupHostCommand,python,Please install Python >= 3.8, \ $(eval $(call SetupHostCommand,python,Please install Python >= 3.8, \
python3.14 -V 2>&1 | grep 'Python 3', \
python3.13 -V 2>&1 | grep 'Python 3', \ python3.13 -V 2>&1 | grep 'Python 3', \
python3.12 -V 2>&1 | grep 'Python 3', \ python3.12 -V 2>&1 | grep 'Python 3', \
python3.11 -V 2>&1 | grep 'Python 3', \ python3.11 -V 2>&1 | grep 'Python 3', \
@ -196,6 +197,7 @@ $(eval $(call SetupHostCommand,python,Please install Python >= 3.8, \
python3 -V 2>&1 | grep -E 'Python 3\.([8-9]|[0-9][0-9])\.?')) python3 -V 2>&1 | grep -E 'Python 3\.([8-9]|[0-9][0-9])\.?'))
$(eval $(call SetupHostCommand,python3,Please install Python >= 3.8, \ $(eval $(call SetupHostCommand,python3,Please install Python >= 3.8, \
python3.14 -V 2>&1 | grep 'Python 3', \
python3.13 -V 2>&1 | grep 'Python 3', \ python3.13 -V 2>&1 | grep 'Python 3', \
python3.12 -V 2>&1 | grep 'Python 3', \ python3.12 -V 2>&1 | grep 'Python 3', \
python3.11 -V 2>&1 | grep 'Python 3', \ python3.11 -V 2>&1 | grep 'Python 3', \

View file

@ -29,6 +29,7 @@ endif
ifdef UBOOT_USE_INTREE_DTC ifdef UBOOT_USE_INTREE_DTC
$(eval $(call TestHostCommand,python3-dev, \ $(eval $(call TestHostCommand,python3-dev, \
Please install the python3-dev package, \ Please install the python3-dev package, \
python3.14-config --includes 2>&1 | grep 'python3', \
python3.13-config --includes 2>&1 | grep 'python3', \ python3.13-config --includes 2>&1 | grep 'python3', \
python3.12-config --includes 2>&1 | grep 'python3', \ python3.12-config --includes 2>&1 | grep 'python3', \
python3.11-config --includes 2>&1 | grep 'python3', \ python3.11-config --includes 2>&1 | grep 'python3', \