From 96196292e5e499c40a6883a62a65c37a40231db8 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Mon, 12 Aug 2019 16:17:32 +0800
Subject: [PATCH] Add dosfstools build shell script

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

diff --git a/3rdparty/openssh/build.sh b/3rdparty/openssh/build.sh
index 982895d..5afe706 100755
--- a/3rdparty/openssh/build.sh
+++ b/3rdparty/openssh/build.sh
@@ -13,10 +13,7 @@
 
 LYFTP_SRC=ftp://master.iot-yun.club/src/
 
-if [ -z $CROSSTOOL ] ; then
-   CROSSTOOL=/opt/crosstool/cortex-a7/bin/arm-linux-gnueabi-
-  #  CROSSTOOL=/opt/rpi/arm-bcm2708/arm-linux-gnueabihf/bin/arm-linux-
-fi
+CROSSTOOL=/opt/buildroot/cortex-a5/bin/arm-linux-
 
 function msg_banner()
 {
@@ -74,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