From d304465ae7e95190acc898051acb4d7e4542a794 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Fri, 02 Aug 2019 12:23:36 +0800
Subject: [PATCH] add file, tree build shell script

---
 ok335xD/3rdparty/file/build.sh |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ok335xD/3rdparty/file/build.sh b/ok335xD/3rdparty/file/build.sh
index 604c39e..eecd69a 100755
--- a/ok335xD/3rdparty/file/build.sh
+++ b/ok335xD/3rdparty/file/build.sh
@@ -9,6 +9,8 @@
 
 PREFIX_PATH=`pwd`/../install/bin
 
+LYFTP_SRC=ftp://master.iot-yun.club/src/
+
 if [ -z $CROSSTOOL ] ; then
    CROSSTOOL=/opt/crosstool/cortex-a7/bin/arm-linux-gnueabi-
 fi
@@ -67,7 +69,8 @@
     msg_banner "Start cross compile $SRC_NAME "
 
     if [ ! -f ${SRC_NAME}.${PACK_SUFIX} ] ; then
-        wget ftp://ftp.astron.com/pub/file/${SRC_NAME}.${PACK_SUFIX}
+        #wget ftp://ftp.astron.com/pub/file/${SRC_NAME}.${PACK_SUFIX}
+        wget ${LYFTP_SRC}/${SRC_NAME}.${PACK_SUFIX}
         check_result "ERROR: download ${SRC_NAME} failure"
     fi
 

--
Gitblit v1.9.1