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/file/build.sh | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/3rdparty/file/build.sh b/3rdparty/file/build.sh index eecd69a..9e5d810 100755 --- a/3rdparty/file/build.sh +++ b/3rdparty/file/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() { @@ -62,7 +60,8 @@ SRC_NAME=file-5.04 PACK_SUFIX=tar.gz - if [ -f ${PREFIX_PATH}/ethtool ] ; then + if [ -f ${PREFIX_PATH}/file ] ; then + msg_banner "$SRC_NAME already compile and installed" return 0; fi @@ -84,7 +83,8 @@ check_result "ERROR: compile ${SRC_NAME} failure" ${STRIP} src/file - cp src/file ${PREFIX_PATH} .. + cp src/file .. + cp src/file ${PREFIX_PATH} cd - } -- Gitblit v1.9.1