File tree Expand file tree Collapse file tree 7 files changed +16
-16
lines changed
Expand file tree Collapse file tree 7 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 2222# ===============================================
2323
2424# This script auto downloads, compiles, and compresses Cross & Native GCC ARM Toolchain binaries
25- # targeting Raspberry Pi 32-bit Stretch (Debian 9) and Buster(Debian 10) OSes only.
25+ # targeting Raspberry Pi 32-bit Bookworm (Debian 12), Bullseye(Debian 11), and Buster(Debian 10) OSes only.
2626
2727helpfunction () {
2828 # helper function that prints custom usage help menu
Original file line number Diff line number Diff line change 2222# ===============================================
2323
2424# This script auto downloads, compiles, and compresses Cross & Native GCC ARM Toolchain binaries
25- # targeting Raspberry Pi 32-bit Stretch (Debian 9) and Buster(Debian 10) OSes only.
25+ # targeting Raspberry Pi 32-bit Bookworm (Debian 12), Bullseye(Debian 11), and Buster(Debian 10) OSes only.
2626
2727helpfunction () {
2828 # helper function that prints custom usage help menu
@@ -160,8 +160,8 @@ elif [ "$RPIOS_TYPE" = "bullseye" ]; then
160160 echo " Missing RPI_TYPE parameter!"
161161 exit 1
162162 fi
163- elif [ " $RPIOS_TYPE " = " stretch " ]; then
164- URL=" $URL /Stretch /GCC%20$GCCBASE_VERSION "
163+ elif [ " $RPIOS_TYPE " = " bookworm " ]; then
164+ URL=" $URL /Bookworm /GCC%20$GCCBASE_VERSION "
165165 if [ " $RPI_TYPE " = " 0-1" ]; then
166166 URL=" $URL /Raspberry%20Pi%201%2C%20Zero/"
167167 elif [ " $RPI_TYPE " = " 2-3" ]; then
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ if [ -z "$GCC_VERSION" ]; then
5454 echo " Error: Required parameter is missing!"
5555 helpfunction
5656elif [ -z " $RPIOS_TYPE " ]; then
57- RPIOS_TYPE=" stretch "
57+ RPIOS_TYPE=" bookworm "
5858else
5959 echo " Parameters configured!"
6060fi
@@ -123,8 +123,8 @@ URL="https://sourceforge.net/projects/raspberry-pi-cross-compilers/files/CLI%20B
123123
124124if [ " $RPIOS_TYPE " = " buster" ]; then
125125 URL=" $URL /Buster/GCC%20$GCCBASE_VERSION /"
126- elif [ " $RPIOS_TYPE " = " stretch " ]; then
127- URL=" $URL /Stretch /GCC%20$GCCBASE_VERSION /"
126+ elif [ " $RPIOS_TYPE " = " bookworm " ]; then
127+ URL=" $URL /Bookworm /GCC%20$GCCBASE_VERSION /"
128128elif [ " $RPIOS_TYPE " = " bullseye" ]; then
129129 URL=" $URL /Bullseye/GCC%20$GCCBASE_VERSION /"
130130else
Original file line number Diff line number Diff line change 2222# ===============================================
2323
2424# This script auto downloads, compiles, and compresses Cross & Native GCC ARM Toolchain binaries
25- # targeting Raspberry Pi 32-bit Stretch (Debian 9) and Buster(Debian 10) OSes only.
25+ # targeting Raspberry Pi 32-bit Bookworm (Debian 12), Bullseye(Debian 11), and Buster(Debian 10) OSes only.
2626
2727helpfunction () {
2828 # helper function that prints custom usage help menu
@@ -147,8 +147,8 @@ elif [ "$RPIOS_TYPE" = "bullseye" ]; then
147147 echo " Missing RPI_TYPE parameter!"
148148 exit 1
149149 fi
150- elif [ " $RPIOS_TYPE " = " stretch " ]; then
151- URL=" $URL /Stretch /GCC%20$GCC_VERSION "
150+ elif [ " $RPIOS_TYPE " = " bookworm " ]; then
151+ URL=" $URL /Bookworm /GCC%20$GCC_VERSION "
152152 if [ " $RPI_TYPE " = " 0-1" ]; then
153153 URL=" $URL /Raspberry%20Pi%201%2C%20Zero/"
154154 elif [ " $RPI_TYPE " = " 2-3" ]; then
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ if [ -z "$GCC_VERSION" ]; then
5454 echo " Error: Required parameter is missing!"
5555 helpfunction
5656elif [ -z " $RPIOS_TYPE " ]; then
57- RPIOS_TYPE=" stretch "
57+ RPIOS_TYPE=" bookworm "
5858else
5959 echo " Parameters configured!"
6060fi
@@ -112,8 +112,8 @@ if [ "$RPIOS_TYPE" = "buster" ]; then
112112 URL=" $URL /Buster/GCC%20$GCC_VERSION /"
113113elif [ " $RPIOS_TYPE " = " bullseye" ]; then
114114 URL=" $URL /Bullseye/GCC%20$GCC_VERSION /"
115- elif [ " $RPIOS_TYPE " = " stretch " ]; then
116- URL=" $URL /Stretch /GCC%20$GCC_VERSION /"
115+ elif [ " $RPIOS_TYPE " = " bookworm " ]; then
116+ URL=" $URL /Bookworm /GCC%20$GCC_VERSION /"
117117else
118118 echo " Missing RPIOS_TYPE parameter!"
119119 exit 1
Original file line number Diff line number Diff line change 2222# ===============================================
2323
2424# This script auto downloads, compiles, and compresses Cross & Native GCC ARM Toolchain binaries
25- # targeting Raspberry Pi 32-bit Stretch (Debian 9) and Buster(Debian 10) OSes only.
25+ # targeting Raspberry Pi 32-bit Bookworm (Debian 12), Bullseye(Debian 11), and Buster(Debian 10) OSes only.
2626
2727set -eo pipefail
2828
9393# collect dependencies versions from raspberry pi os
9494if [ " $RPIOS_TYPE " = " bookworm" ]; then
9595 if echo ${GCC_VERSION% .* } " 12.2" | awk ' {exit ( $1 >= $2 )}' ; then
96- echo " $GCC_VERSION is not supported on stretch !"
96+ echo " $GCC_VERSION is not supported on bookworm !"
9797 exit 0
9898 else
9999 GCCBASE_VERSION=12.2.0
Original file line number Diff line number Diff line change 2222# ===============================================
2323
2424# This script aauto downloads, compiles, and compresses Cross & Native GCC ARM64 Toolchain
25- # binaries targeting any Raspberry Pi 64-bit (like Pi64) OSes.
25+ # binaries targeting any Raspberry Pi 64-bit Bookworm(Debian 12), Bullseye(Debian 11), and Buster(Debian 10) like OSes.
2626
2727set -eo pipefail
2828
You can’t perform that action at this time.
0 commit comments