cross/fetch

21 lines
437 B
Plaintext
Raw Permalink Normal View History

2022-01-17 18:18:42 +00:00
#!/bin/sh
2022-06-02 14:57:30 +00:00
set -eux
2022-01-17 18:18:42 +00:00
REPO="$(realpath "$(dirname "$(realpath "$0")")")"
cd "$REPO"
SRC="$REPO/src"
wget -nc -i 'wget.txt' -P "$SRC"
sha256sum -c 'sha256sums.txt'
2022-06-21 16:44:41 +00:00
tar -xf "$SRC/binutils-2.37.tar.xz" -C "$SRC"
tar -xf "$SRC/gcc-11.2.0.tar.xz" -C "$SRC"
tar -xf "$SRC/linux-5.4.199.tar.xz" -C "$SRC"
tar -xf "$SRC/newlib-4.2.0.20211231.tar.gz" -C "$SRC"
2022-02-09 23:29:31 +00:00
cd "$SRC/gcc-11.2.0"
./contrib/download_prerequisites