1
0
Fork 0

download toolchain in http

cn
Lawrence-Tang 2 years ago
parent 53a2a2bf39
commit bb06d593ec

1
.gitignore vendored

@ -0,0 +1 @@
fa-toolchain.tgz

@ -3,8 +3,7 @@
``` ```
sudo apt-get -y update sudo apt-get -y update
sudo apt-get install -y sudo wget sudo apt-get install -y sudo wget
wget https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh wget https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/cn/install.sh
chmod 755 install.sh
sudo ./install.sh sudo ./install.sh
``` ```
### Supported Distributions ### Supported Distributions

@ -117,11 +117,8 @@ apt-get -y install python3-dev python3-setuptools
apt install dwarves lz4 apt install dwarves lz4
# install friendlyelec-toolchain # install friendlyelec-toolchain
[ -d fa-toolchain ] || git clone https://github.com/friendlyarm/prebuilts.git -b master --depth 1 fa-toolchain [ -f fa-toolchain.tgz ] || wget http://112.124.9.243/fa-toolchain.tgz
(cat fa-toolchain/gcc-x64/toolchain-4.9.3-armhf.tar.gz* | tar xz -C /) tar xzf fa-toolchain.tgz -C /
(cat fa-toolchain/gcc-x64/toolchain-6.4-aarch64.tar.gz* | tar xz -C /) rm -f fa-toolchain.tgz
(tar xf fa-toolchain/gcc-x64/toolchain-11.3-aarch64.tar.xz -C /)
rm -rf fa-toolchain
echo "all done." echo "all done."

Loading…
Cancel
Save