Skip to content

Commit 0a9fcdf

Browse files
champtarTest Dev
authored andcommitted
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: openwrt/openwrt#23243 Signed-off-by: Test Dev <dev@example.org>
1 parent faf8f37 commit 0a9fcdf

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

‎include/prereq-build.mk‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ $(eval $(call SetupHostCommand,perl,Please install Perl 5.x, \
187187
perl --version | grep "perl.*v5"))
188188

189189
$(eval $(call SetupHostCommand,python,Please install Python >= 3.8, \
190+
python3.14 -V 2>&1 | grep 'Python 3', \
190191
python3.13 -V 2>&1 | grep 'Python 3', \
191192
python3.12 -V 2>&1 | grep 'Python 3', \
192193
python3.11 -V 2>&1 | grep 'Python 3', \
@@ -196,6 +197,7 @@ $(eval $(call SetupHostCommand,python,Please install Python >= 3.8, \
196197
python3 -V 2>&1 | grep -E 'Python 3\.([8-9]|[0-9][0-9])\.?'))
197198

198199
$(eval $(call SetupHostCommand,python3,Please install Python >= 3.8, \
200+
python3.14 -V 2>&1 | grep 'Python 3', \
199201
python3.13 -V 2>&1 | grep 'Python 3', \
200202
python3.12 -V 2>&1 | grep 'Python 3', \
201203
python3.11 -V 2>&1 | grep 'Python 3', \

‎include/u-boot.mk‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ endif
2929
ifdef UBOOT_USE_INTREE_DTC
3030
$(eval $(call TestHostCommand,python3-dev, \
3131
Please install the python3-dev package, \
32+
python3.14-config --includes 2>&1 | grep 'python3', \
3233
python3.13-config --includes 2>&1 | grep 'python3', \
3334
python3.12-config --includes 2>&1 | grep 'python3', \
3435
python3.11-config --includes 2>&1 | grep 'python3', \

0 commit comments

Comments
 (0)