From d7776e3c9a93b0309cf98a56a9dfa26917f4f27d Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sun, 11 Aug 2019 16:55:25 +0800
Subject: [PATCH] add 3rdparty build all shell script
---
3rdparty/iptables/build.sh | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/3rdparty/iptables/build.sh b/3rdparty/iptables/build.sh
index 075af85..75493fd 100755
--- a/3rdparty/iptables/build.sh
+++ b/3rdparty/iptables/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/buildroot/cortex-a5/bin/arm-linux-
function msg_banner()
{
@@ -61,13 +61,15 @@
IMG_NAME=iptables
if [ -f ${PREFIX_PATH}/${IMG_NAME} ] ; then
+ msg_banner "$SRC_NAME already compile and installed"
return 0;
fi
msg_banner "Start cross compile $SRC_NAME "
if [ ! -f ${SRC_NAME}.${PACK_SUFIX} ] ; then
- wget http://www.netfilter.org/projects/iptables/files/${SRC_NAME}.${PACK_SUFIX}
+ #wget http://www.netfilter.org/projects/iptables/files/${SRC_NAME}.${PACK_SUFIX}
+ wget $LYFTP_SRC/$SRC_NAME.$PACK_SUFIX
check_result "ERROR: download ${SRC_NAME} failure"
fi
--
Gitblit v1.9.1