From 9393cb81acc34d1bd27cc921d8d98e618fb74662 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Fri, 23 Aug 2019 00:14:04 +0800
Subject: [PATCH] update u-boot,linux kernel to compile dtb and zImage into single idb file; update bootstrap,u-boot,linux kernel nandflash partition; update sama5d4_xplained_loader files in folder

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

diff --git a/3rdparty/tree/build.sh b/3rdparty/tree/build.sh
index 2786783..e849053 100755
--- a/3rdparty/tree/build.sh
+++ b/3rdparty/tree/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()
 {
@@ -61,7 +59,8 @@
     SRC_NAME=tree-1.8.0
     PACK_SUFIX=tgz
 
-    if [ -f ${PREFIX_PATH}/ethtool ] ; then
+    if [ -f ${PREFIX_PATH}/tree ] ; then
+        msg_banner "$SRC_NAME already compile and installed"
         return 0;
     fi
 
@@ -82,7 +81,8 @@
     check_result "ERROR: compile ${SRC_NAME} failure"
 
     ${STRIP} tree
-    cp tree ${PREFIX_PATH} ..
+    cp tree ${PREFIX_PATH} 
+    cp tree ..
 
     cd -
 }

--
Gitblit v1.9.1