update cross compiler to gcc-arm-10.3-2021.07
| | |
| | | # BSP_VER should be lf-5.10.52-2.1.0, lf-5.15.32-2.0.0 |
| | | BSP_VER=lf-5.15.32-2.0.0 |
| | | |
| | | CROSS_TOOL=/opt/gcc-arm-11.2-2022.02/bin/arm-none-linux-gnueabihf- |
| | | CROSS_TOOL=/opt/gcc-arm-10.3-2021.07/bin/arm-none-linux-gnueabihf- |
| | | |
| | | # SYSTEM should be: buildroot, debian, yocto |
| | | # DISTRO should be: v2021.02, bullseye, hardknott/honister/kirkstone |
| | |
| | | # |
| | | #********************************************************************************/ |
| | | |
| | | CROSS_COMPILE ?= /opt/gcc-arm-11.2-2022.02/bin/arm-none-linux-gnueabihf- |
| | | CROSS_COMPILE ?= /opt/gcc-arm-10.3-2021.07/bin/arm-none-linux-gnueabihf- |
| | | |
| | | LINUX_SRC = ${shell pwd}/../../kernel/linux-imx/ |
| | | DRV_PATH ?= ${shell pwd}/../../images/drivers/ |
| | |
| | | |
| | | # update by top build.sh |
| | | BOARD=igkboard |
| | | CROSS_TOOL=/opt/gcc-arm-11.2-2022.02/bin/arm-none-linux-gnueabihf- |
| | | CROSS_TOOL=/opt/gcc-arm-10.3-2021.07/bin/arm-none-linux-gnueabihf- |
| | | |
| | | # Source code download address |
| | | SRV_URL=http://weike-iot.com:2211 |
| | |
| | | # https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads |
| | | function install_crosstool() |
| | | { |
| | | ARMTOOL_VER=11.2-2022.02 |
| | | ARMTOOL_VER=10.3-2021.07 |
| | | ARMTOOL_NAME=gcc-arm-$ARMTOOL_VER |
| | | ARMTOOL_PACK=${ARMTOOL_NAME}-`uname -p`-arm-none-linux-gnueabihf |
| | | ARMTOOL_URL=https://developer.arm.com/-/media/Files/downloads/gnu/$ARMTOOL_VER/binrel/ |
| | | ARMTOOL_URL=https://developer.arm.com/-/media/Files/downloads/gnu-a/$ARMTOOL_VER/binrel/ |
| | | |
| | | if [ -d /opt/$ARMTOOL_NAME ] ; then |
| | | pr_info "$ARMTOOL_NAME crosstool already installed, skip it" |