From 339eff90ac6e178432f0fa203d259fcf27886fa9 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Thu, 26 Sep 2024 11:14:42 +0800
Subject: [PATCH] Tools:IGKBoard-All: Update crosstool setup shell script

---
 tools/setup_tools.sh |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/setup_tools.sh b/tools/setup_tools.sh
index 09a6fab..5202719 100755
--- a/tools/setup_tools.sh
+++ b/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
 

--
Gitblit v1.9.1