From 7224fbe2b9ccbc9a40b7b0f2a99694d745962434 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Thu, 06 Oct 2022 10:43:26 +0800
Subject: [PATCH] update bsp crosstool and bsp version

---
 bsp/drivers/users/Makefile |    2 +-
 bsp/scripts/setup_env.sh   |    3 ++-
 bsp/build.sh               |    3 ++-
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/bsp/build.sh b/bsp/build.sh
index 5b80283..0c17d42 100755
--- a/bsp/build.sh
+++ b/bsp/build.sh
@@ -3,8 +3,9 @@
 PRJ_PATH=`pwd`
 
 BOARD=igkboard
+#BSP_VER=lf-5.10.52-2.1.0
 BSP_VER=lf-5.15.32-2.0.0
-CROSS_TOOL=/opt/buildroot/cortexA7/bin/arm-linux-
+CROSS_TOOL=arm-linux-gnueabihf-
 
 # SYSTEM  should be: buildroot, yocto or debian
 # DISTRO  should be: v2021.02, hardknott/honister, bullseye
diff --git a/bsp/drivers/users/Makefile b/bsp/drivers/users/Makefile
index 3c6f3ea..3f0193b 100644
--- a/bsp/drivers/users/Makefile
+++ b/bsp/drivers/users/Makefile
@@ -11,7 +11,7 @@
 #
 #********************************************************************************/
 
-CROSS_COMPILE ?= /opt/buildroot/cortexA7/bin/arm-linux-
+CROSS_COMPILE ?= arm-linux-gnueabihf-
 
 LINUX_SRC = ${shell pwd}/../../kernel/linux-imx/
 DRV_PATH ?= ${shell pwd}/../../images/drivers/
diff --git a/bsp/scripts/setup_env.sh b/bsp/scripts/setup_env.sh
index c56353c..5e838af 100755
--- a/bsp/scripts/setup_env.sh
+++ b/bsp/scripts/setup_env.sh
@@ -5,10 +5,11 @@
 
 # update by top build.sh
 BOARD=igkboard
-CROSS_TOOL=/opt/buildroot/cortexA7/bin/arm-linux-
+CROSS_TOOL=arm-linux-gnueabihf-
 
 # Source code download address
 SRV_URL=http://weike-iot.com:2211
+#SRV_URL=http://127.0.0.1:2211
 BSP_VER=lf-5.15.32-2.0.0
 BSP_URL=${SRV_URL}/imx/bsp/${BSP_VER}
 

--
Gitblit v1.9.1