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/dnsmasq/build.sh |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/3rdparty/dnsmasq/build.sh b/3rdparty/dnsmasq/build.sh
index a92b1ee..afb4ed1 100755
--- a/3rdparty/dnsmasq/build.sh
+++ b/3rdparty/dnsmasq/build.sh
@@ -9,9 +9,9 @@
 
 PREFIX_PATH=`pwd`/../install/bin
 
-if [ -z $CROSSTOOL ] ; then
-   CROSSTOOL=/opt/crosstool/cortex-a7/bin/arm-linux-gnueabi-
-fi
+LYFTP_SRC=ftp://master.iot-yun.club/src/
+
+CROSSTOOL=/opt/crosstool/cortex-a7/bin/arm-linux-gnueabi-
 
 function msg_banner()
 {
@@ -65,7 +65,8 @@
 
     msg_banner "Start donwload $SRC_NAME "
     if [ ! -f ${SRC_NAME}.${PACK_SUFIX} ] ; then
-        wget http://www.thekelleys.org.uk/dnsmasq/${SRC_NAME}.${PACK_SUFIX}
+        #wget http://www.thekelleys.org.uk/dnsmasq/${SRC_NAME}.${PACK_SUFIX}
+        wget $LYFTP_SRC/$SRC_NAME.$PACK_SUFIX
         check_result "ERROR: download ${SRC_NAME} failure"
     fi
 
@@ -78,7 +79,8 @@
     check_result "ERROR: compile ${SRC_NAME} failure"
 
     ${STRIP} src/dnsmasq
-    cp src/dnsmasq ${PREFIX_PATH} ../
+    cp src/dnsmasq ../
+    cp src/dnsmasq ${PREFIX_PATH} 
 
     cd -
 }

--
Gitblit v1.9.1