From 44b6985a5c9724e5f8b8f30000c5f022dee42863 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sun, 11 Aug 2019 16:49:36 +0800
Subject: [PATCH] update pppd patch and build shell script, fix buildroot glibc build bug
---
3rdparty/file/build.sh | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/3rdparty/file/build.sh b/3rdparty/file/build.sh
index eecd69a..27566d5 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/crosstool/cortex-a7/bin/arm-linux-gnueabi-
function msg_banner()
{
@@ -62,7 +60,7 @@
SRC_NAME=file-5.04
PACK_SUFIX=tar.gz
- if [ -f ${PREFIX_PATH}/ethtool ] ; then
+ if [ -f ${PREFIX_PATH}/file ] ; then
return 0;
fi
@@ -84,7 +82,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