[PATCH] prereq-build: add python 3.9 support

Rosen Penev rosenp at gmail.com
Thu Oct 29 03:12:16 EDT 2020


Fixes unmet dependency issue.

Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
 include/prereq-build.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/prereq-build.mk b/include/prereq-build.mk
index f67a01299e..8352b38776 100644
--- a/include/prereq-build.mk
+++ b/include/prereq-build.mk
@@ -148,6 +148,7 @@ $(eval $(call SetupHostCommand,perl,Please install Perl 5.x, \
 $(eval $(call CleanupPython2))
 
 $(eval $(call SetupHostCommand,python,Please install Python >= 3.5, \
+	python3.9 -V 2>&1 | grep 'Python 3', \
 	python3.8 -V 2>&1 | grep 'Python 3', \
 	python3.7 -V 2>&1 | grep 'Python 3', \
 	python3.6 -V 2>&1 | grep 'Python 3', \
@@ -155,6 +156,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.9 -V 2>&1 | grep 'Python 3', \
 	python3.8 -V 2>&1 | grep 'Python 3', \
 	python3.7 -V 2>&1 | grep 'Python 3', \
 	python3.6 -V 2>&1 | grep 'Python 3', \
-- 
2.28.0




More information about the openwrt-devel mailing list