| | |
| | | apt install -y $devtools |
| | | } |
| | | |
| | | function install_crosstool_imx6() |
| | | function install_crosstool_aarch32() |
| | | { |
| | | # Crosstool for Cortex-A download from ARM Developer |
| | | ARMTOOL_NAME=arm-none-linux-gnueabihf |
| | |
| | | fi |
| | | } |
| | | |
| | | function install_crosstool_imx8() |
| | | function install_crosstool_aarch64() |
| | | { |
| | | # Crosstool for Cortex-M download from ARM Developer |
| | | ARMTOOL_NAME=arm-none-eabi |
| | |
| | | BOARD=`jq -r ".bsp.board" $CONF_FILE | tr 'A-Z' 'a-z'` |
| | | |
| | | if [[ $BOARD =~ mx6ull ]] ; then |
| | | install_crosstool_imx6 |
| | | install_crosstool_aarch32 |
| | | else |
| | | install_crosstool_imx8 |
| | | install_crosstool_aarch64 |
| | | fi |
| | | |