projects
/
kernel-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
18f1686
)
At the moment, binutil 2.40 is only available as .tar.bz2
author
Jason Self
<j@jxself.org>
Sun, 15 Jan 2023 04:21:08 +0000
(20:21 -0800)
committer
Jason Self
<j@jxself.org>
Sun, 15 Jan 2023 04:21:08 +0000
(20:21 -0800)
setup-toolchain.sh
patch
|
blob
|
history
diff --git
a/setup-toolchain.sh
b/setup-toolchain.sh
index b9db21fa9107bbeb8ee812885d1ba1528fce9c53..922a43ed4e348bf57a0b8377b185103d0b6d8d64 100755
(executable)
--- a/
setup-toolchain.sh
+++ b/
setup-toolchain.sh
@@
-66,10
+66,10
@@
setup_keyring
download_source () {
# This handles the actual downloading the of the source code from
# the GNU FTP mirrors along with invoking GPG for verification.
download_source () {
# This handles the actual downloading the of the source code from
# the GNU FTP mirrors along with invoking GPG for verification.
- if [ ! -f "binutils-$binutils_version.tar.
lz
" ]; then
- wget http://ftpmirror.gnu.org/gnu/binutils/binutils-$binutils_version.tar.
lz
- wget http://ftpmirror.gnu.org/gnu/binutils/binutils-$binutils_version.tar.
lz
.sig
- gpg --no-default-keyring --keyring ./gnu-keyring.gpg --verify binutils-$binutils_version.tar.
lz
.sig
+ if [ ! -f "binutils-$binutils_version.tar.
bz2
" ]; then
+ wget http://ftpmirror.gnu.org/gnu/binutils/binutils-$binutils_version.tar.
bz2
+ wget http://ftpmirror.gnu.org/gnu/binutils/binutils-$binutils_version.tar.
bz2
.sig
+ gpg --no-default-keyring --keyring ./gnu-keyring.gpg --verify binutils-$binutils_version.tar.
bz2
.sig
fi
if [ ! -f "gcc-$gcc_version.tar.xz" ]; then
wget http://ftpmirror.gnu.org/gnu/gcc/gcc-$gcc_version/gcc-$gcc_version.tar.xz
fi
if [ ! -f "gcc-$gcc_version.tar.xz" ]; then
wget http://ftpmirror.gnu.org/gnu/gcc/gcc-$gcc_version/gcc-$gcc_version.tar.xz
@@
-98,7
+98,7
@@
setup_source () {
# function extracts the tarballs and places things into the
# appropriate locations as needed.
if [ ! -d "binutils-$binutils_version" ]; then
# function extracts the tarballs and places things into the
# appropriate locations as needed.
if [ ! -d "binutils-$binutils_version" ]; then
- tar xf binutils-$binutils_version.tar.
lz
+ tar xf binutils-$binutils_version.tar.
bz2
fi
if [ ! -d "gcc-$gcc_version" ]; then
tar xf gcc-$gcc_version.tar.xz
fi
if [ ! -d "gcc-$gcc_version" ]; then
tar xf gcc-$gcc_version.tar.xz