From 03ec0b2509469ddff89911f7d442be02aea48d37 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sun, 11 Aug 2019 18:04:38 +0800
Subject: [PATCH] update setup env shell script

---
 3rdparty/libevent/build.sh |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/3rdparty/libevent/build.sh b/3rdparty/libevent/build.sh
index 19451ba..53f2070 100755
--- a/3rdparty/libevent/build.sh
+++ b/3rdparty/libevent/build.sh
@@ -11,9 +11,7 @@
 
 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()
 {
@@ -63,6 +61,7 @@
     PACK_SUFIX=tar.gz
 
     if [ -f ${PREFIX_PATH}/lib/libevent.so ] ; then
+        msg_banner "$SRC_NAME already compile and installed"
         return 0;
     fi
 

--
Gitblit v1.9.1