From 26c06979cd0a2f143732faa48329b9d4e2236d24 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sat, 24 Aug 2019 16:50:52 +0800
Subject: [PATCH] update setup_env.sh to fix import bug

---
 3rdparty/lrzsz/build.sh |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/3rdparty/lrzsz/build.sh b/3rdparty/lrzsz/build.sh
index e56b054..2f65223 100755
--- a/3rdparty/lrzsz/build.sh
+++ b/3rdparty/lrzsz/build.sh
@@ -10,7 +10,9 @@
 PRJ_PATH=`pwd`
 PREFIX_PATH=`pwd`/../install
 
-CROSSTOOL=/opt/crosstool/cortex-a7/bin/arm-linux-gnueabi-
+LYFTP_SRC=ftp://master.iot-yun.club/src/
+
+CROSSTOOL=/opt/buildroot/cortex-a5/bin/arm-linux-
 
 function msg_banner()
 {
@@ -60,13 +62,15 @@
     IMG_NAME=sz
 
     if [ -f ${PRJ_PATH}/${IMG_NAME} ] ; then
+        msg_banner "$SRC_NAME already compile and installed"
         return 0;
     fi
 
     msg_banner "Start cross compile $SRC_NAME "
 
     if [ ! -f ${SRC_NAME}.${PACK_SUFIX} ] ; then
-        wget http://www.ohse.de/uwe/releases/${SRC_NAME}.${PACK_SUFIX}
+        #wget http://www.ohse.de/uwe/releases/${SRC_NAME}.${PACK_SUFIX}
+        wget $LYFTP_SRC/$SRC_NAME.$PACK_SUFIX
         check_result "ERROR: download ${SRC_NAME} failure"
     fi
 

--
Gitblit v1.9.1