From c901644942ddf153ef3e2dac6a38a9bd772e15dc Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sun, 11 Aug 2019 16:53:22 +0800
Subject: [PATCH] update 3rdparity build shell script

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

diff --git a/3rdparty/openssh/build.sh b/3rdparty/openssh/build.sh
index a2387cb..5afe706 100755
--- a/3rdparty/openssh/build.sh
+++ b/3rdparty/openssh/build.sh
@@ -13,7 +13,7 @@
 
 LYFTP_SRC=ftp://master.iot-yun.club/src/
 
-CROSSTOOL=/opt/crosstool/cortex-a7/bin/arm-linux-gnueabi-
+CROSSTOOL=/opt/buildroot/cortex-a5/bin/arm-linux-
 
 function msg_banner()
 {
@@ -71,7 +71,8 @@
     SRC_NAME=openssh-8.0p1
     PACK_SUFIX=tar.gz
 
-    if [ -f ${PREFIX_PATH}/bin/openssh ] ; then
+    if [ -f ${PREFIX_PATH}/sbin/sshd ] ; then
+        msg_banner "$SRC_NAME already compile and installed"
         return 0;
     fi
 

--
Gitblit v1.9.1