From 69d0972fa8b82065a67566b74ecae8585d9c68c1 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Tue, 27 Aug 2019 00:55:11 +0800
Subject: [PATCH] update linux-bsp build shell script, fix u-boot update crosstool bug

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

diff --git a/3rdparty/zlib/build.sh b/3rdparty/zlib/build.sh
index d5e0a9a..bc06b5b 100755
--- a/3rdparty/zlib/build.sh
+++ b/3rdparty/zlib/build.sh
@@ -7,14 +7,11 @@
 #|           1, Initialize 1.0.0 on 2011.04.12
 #+--------------------------------------------------------------------------------------------
 
-PRJ_PATH=`pwd`
 PREFIX_PATH=`pwd`/../install/
 
 LYFTP_SRC=ftp://master.iot-yun.club/src/
 
-if [ -z $CROSSTOOL ] ; then
-   CROSSTOOL=/opt/crosstool/cortex-a7/bin/arm-linux-gnueabi-
-fi
+CROSSTOOL=/opt/buildroot/cortex-a5/bin/arm-linux-
 
 function msg_banner()
 {
@@ -64,6 +61,7 @@
     PACK_SUFIX=tar.gz
 
     if [ -f ${PREFIX_PATH}/lib/libz.a ] ; then
+        msg_banner "$SRC_NAME already compile and installed"
         return 0;
     fi
 

--
Gitblit v1.9.1