build: add support for python3.11 and higher
authorOscar Molnar <oscar@tymscar.com>
Sat, 6 Aug 2022 15:13:41 +0000 (16:13 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 14 Aug 2022 19:06:53 +0000 (21:06 +0200)
commitda7e9b201e6199030d9838ba82b3bd0399ba6d23
tree46b925d0483c3b4c1a0c0bd25f50bd7963510f14
parentdfe5c2359246c8643f85de286a427695abeaacfd
build: add support for python3.11 and higher

python3.11 beta is out but fails to run the makefile currently
this supports python versions from 3.6 to 3.99 with the python3 binary
it also checks specifically for 3.11 as it is the latest version out

Signed-off-by: Oscar Molnar <oscar@tymscar.com>
(cherry picked from commit a9e8eec221874e5840d659aed3f68850ff1d9982)
include/prereq-build.mk