From d5bd010e51b60e7b6b619cb935c181402d825433 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Fri, 21 Aug 2020 16:17:56 +0800
Subject: [PATCH] Add 3rdparty top build shell script
---
3rdparty/build.sh | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/3rdparty/build.sh b/3rdparty/build.sh
new file mode 100755
index 0000000..a971f85
--- /dev/null
+++ b/3rdparty/build.sh
@@ -0,0 +1,30 @@
+#!/bin/bash
+
+REP_CROSSTOOL=/opt/xtools/arm920t/bin/arm-linux-
+
+
+function replace_crosstool()
+{
+ for f in `find -iname "build*.sh"`
+ do
+ sed -i -e "s|^CROSSTOOL=.*|CROSSTOOL=$REP_CROSSTOOL|g" $f
+ done
+}
+
+function do_compile
+{
+ for dir in `ls`
+ do
+ if [ -f $dir/build*.sh ] ; then
+ cd $dir
+ ./build*.sh
+ cd -
+ fi
+ done
+}
+
+#replace_crosstool
+
+do_compile
+
+
--
Gitblit v1.9.1