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 22
22
# ===============================================
23
23
24
24
# 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.
26
26
27
27
helpfunction () {
28
28
# helper function that prints custom usage help menu
Original file line number Diff line number Diff line change 22
22
# ===============================================
23
23
24
24
# 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.
26
26
27
27
helpfunction () {
28
28
# helper function that prints custom usage help menu
@@ -160,8 +160,8 @@ elif [ "$RPIOS_TYPE" = "bullseye" ]; then
160
160
echo " Missing RPI_TYPE parameter!"
161
161
exit 1
162
162
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 "
165
165
if [ " $RPI_TYPE " = " 0-1" ]; then
166
166
URL=" $URL /Raspberry%20Pi%201%2C%20Zero/"
167
167
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
54
54
echo " Error: Required parameter is missing!"
55
55
helpfunction
56
56
elif [ -z " $RPIOS_TYPE " ]; then
57
- RPIOS_TYPE=" stretch "
57
+ RPIOS_TYPE=" bookworm "
58
58
else
59
59
echo " Parameters configured!"
60
60
fi
@@ -123,8 +123,8 @@ URL="https://sourceforge.net/projects/raspberry-pi-cross-compilers/files/CLI%20B
123
123
124
124
if [ " $RPIOS_TYPE " = " buster" ]; then
125
125
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 /"
128
128
elif [ " $RPIOS_TYPE " = " bullseye" ]; then
129
129
URL=" $URL /Bullseye/GCC%20$GCCBASE_VERSION /"
130
130
else
Original file line number Diff line number Diff line change 22
22
# ===============================================
23
23
24
24
# 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.
26
26
27
27
helpfunction () {
28
28
# helper function that prints custom usage help menu
@@ -147,8 +147,8 @@ elif [ "$RPIOS_TYPE" = "bullseye" ]; then
147
147
echo " Missing RPI_TYPE parameter!"
148
148
exit 1
149
149
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 "
152
152
if [ " $RPI_TYPE " = " 0-1" ]; then
153
153
URL=" $URL /Raspberry%20Pi%201%2C%20Zero/"
154
154
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
54
54
echo " Error: Required parameter is missing!"
55
55
helpfunction
56
56
elif [ -z " $RPIOS_TYPE " ]; then
57
- RPIOS_TYPE=" stretch "
57
+ RPIOS_TYPE=" bookworm "
58
58
else
59
59
echo " Parameters configured!"
60
60
fi
@@ -112,8 +112,8 @@ if [ "$RPIOS_TYPE" = "buster" ]; then
112
112
URL=" $URL /Buster/GCC%20$GCC_VERSION /"
113
113
elif [ " $RPIOS_TYPE " = " bullseye" ]; then
114
114
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 /"
117
117
else
118
118
echo " Missing RPIOS_TYPE parameter!"
119
119
exit 1
Original file line number Diff line number Diff line change 22
22
# ===============================================
23
23
24
24
# 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.
26
26
27
27
set -eo pipefail
28
28
93
93
# collect dependencies versions from raspberry pi os
94
94
if [ " $RPIOS_TYPE " = " bookworm" ]; then
95
95
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 !"
97
97
exit 0
98
98
else
99
99
GCCBASE_VERSION=12.2.0
Original file line number Diff line number Diff line change 22
22
# ===============================================
23
23
24
24
# 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.
26
26
27
27
set -eo pipefail
28
28
You can’t perform that action at this time.
0 commit comments