diff --git a/README.md b/README.md index 9141b2392d..dd9f4433e7 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ image usable to migrate from a vendor stock firmware to OpenWrt, try the If your device is supported, please follow the **Info** link to see install instructions or consult the support resources listed below. -## +## An advanced user may require additional or specific package. (Toolchain, SDK, ...) For everything else than simple firmware download, try the wiki download page: @@ -44,7 +44,7 @@ documentation. ``` binutils bzip2 diff find flex gawk gcc-6+ getopt grep install libc-dev libz-dev -make4.1+ perl python3.7+ rsync subversion unzip which +make4.1+ perl python3.8+ rsync subversion unzip which ``` ### Quickstart diff --git a/include/prereq-build.mk b/include/prereq-build.mk index e4ac0a3de5..dcc21aafa5 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -186,25 +186,23 @@ $(eval $(call SetupHostCommand,install,Please install 'install', \ $(eval $(call SetupHostCommand,perl,Please install Perl 5.x, \ perl --version | grep "perl.*v5")) -$(eval $(call SetupHostCommand,python,Please install Python >= 3.7, \ +$(eval $(call SetupHostCommand,python,Please install Python >= 3.8, \ python3.13 -V 2>&1 | grep 'Python 3', \ 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', \ python3.8 -V 2>&1 | grep 'Python 3', \ - python3.7 -V 2>&1 | grep 'Python 3', \ - python3 -V 2>&1 | grep -E 'Python 3\.([7-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.7, \ +$(eval $(call SetupHostCommand,python3,Please install Python >= 3.8, \ python3.13 -V 2>&1 | grep 'Python 3', \ 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', \ python3.8 -V 2>&1 | grep 'Python 3', \ - python3.7 -V 2>&1 | grep 'Python 3', \ - python3 -V 2>&1 | grep -E 'Python 3\.([7-9]|[0-9][0-9])\.?')) + python3 -V 2>&1 | grep -E 'Python 3\.([8-9]|[0-9][0-9])\.?')) $(eval $(call TestHostCommand,python3-distutils, \ Please install the Python3 distutils module, \ diff --git a/include/u-boot.mk b/include/u-boot.mk index fcd8b5cd76..37ce68e7e7 100644 --- a/include/u-boot.mk +++ b/include/u-boot.mk @@ -35,8 +35,7 @@ ifdef UBOOT_USE_INTREE_DTC python3.10-config --includes 2>&1 | grep 'python3', \ python3.9-config --includes 2>&1 | grep 'python3', \ python3.8-config --includes 2>&1 | grep 'python3', \ - python3.7-config --includes 2>&1 | grep 'python3', \ - python3-config --includes 2>&1 | grep -E 'python3\.([7-9]|[0-9][0-9])\.?')) + python3-config --includes 2>&1 | grep -E 'python3\.([8-9]|[0-9][0-9])\.?')) $(eval $(call TestHostCommand,python3-setuptools, \ Please install the Python3 setuptools module, \