summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Spooren2024-08-17 14:23:54 +0000
committerRobert Marko2024-10-16 20:36:43 +0000
commitbf059f7108e75fdec618a272ab8c52d4780aafed (patch)
tree20cd93781d885e9f148c95bb531aaf2dc64e3a42
parentf20893a6bcf75268e4548fb73c23f956f3843764 (diff)
downloadopenwrt-bf059f7108e75fdec618a272ab8c52d4780aafed.tar.gz
prereq-build: add Python 3.12 support
This reverts commit 09b7e1955c92e0b05197174b7bd4aef2c4073a35. Signed-off-by: Paul Spooren <mail@aparcar.org> Link: https://github.com/openwrt/openwrt/pull/16699 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--include/prereq-build.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/prereq-build.mk b/include/prereq-build.mk
index 49340ce3e4..2378f5ad90 100644
--- a/include/prereq-build.mk
+++ b/include/prereq-build.mk
@@ -182,6 +182,7 @@ $(eval $(call SetupHostCommand,perl,Please install Perl 5.x, \
perl --version | grep "perl.*v5"))
$(eval $(call SetupHostCommand,python,Please install Python >= 3.7, \
+ python3.12 -V 2>&1 | grep 'Python 3', \
python3.11 -V 2>&1 | grep 'Python 3', \
python3.10 -V 2>&1 | grep 'Python 3', \
python3.9 -V 2>&1 | grep 'Python 3', \
@@ -190,6 +191,7 @@ $(eval $(call SetupHostCommand,python,Please install Python >= 3.7, \
python3 -V 2>&1 | grep -E 'Python 3\.([7-9]|[0-9][0-9])\.?'))
$(eval $(call SetupHostCommand,python3,Please install Python >= 3.7, \
+ python3.12 -V 2>&1 | grep 'Python 3', \
python3.11 -V 2>&1 | grep 'Python 3', \
python3.10 -V 2>&1 | grep 'Python 3', \
python3.9 -V 2>&1 | grep 'Python 3', \