guowenxue
2024-09-26 339eff90ac6e178432f0fa203d259fcf27886fa9
Tools:IGKBoard-All: Update crosstool setup shell script

Signed-off-by: guowenxue <guowenxue@gmail.com>
1 files modified
8 ■■■■ changed files
tools/setup_tools.sh 8 ●●●● patch | view | raw | blame | history
tools/setup_tools.sh
@@ -69,7 +69,7 @@
    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
@@ -95,7 +95,7 @@
    fi
}
function install_crosstool_imx8()
function install_crosstool_aarch64()
{
    # Crosstool for Cortex-M download from ARM Developer
    ARMTOOL_NAME=arm-none-eabi
@@ -157,8 +157,8 @@
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