range Pi 用户手册 深圳市迅龙软件有限公司版权所有
www.orangepi.cn 119 www.xunlong.tv
scripts, and the source code of some programs, etc.
c. LICENSE: GPL 2 license file
d. README.md: d.orangepi-build documentation
e. scripts: General script for compiling linux image
test@test:~/orangepi-build$ ls
build.sh external LICENSE README.md scripts
5.1.2. Download the cross-compilation toolchain
1) When orangepi-build is run for the first time, it will automatically download the
cross-compilation toolchain and place it in the toolchains folder. Every time the
orangepi-build build.sh script is run, it will check whether the cross-compilation
toolchain in toolchains exists. , If it does not exist, it will restart the download, if it exists,
it will be used directly, and the download will not be repeated
2) The image URL of the cross-compilation tool chain in China is the open source
software mirror site of Tsinghua University
https://mirrors.tuna.tsinghua.edu.cn/armbian-releases/_toolchain/
3) After Toolchains is downloaded, it will contain multiple versions of
cross-compilation toolchains
test@test:~/orangepi-build$ ls toolchains/
gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu
gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf