From 3b4c6499f5fdd4e53efd13af9ebef427632493e7 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Thu, 11 Jun 2026 23:27:55 +0800
Subject: [PATCH] Update cross compiler
---
opencv/build.sh | 2 +-
libevent/build.sh | 2 +-
qt/build.sh | 2 +-
.gitignore | 7 +++++++
pppd/build.sh | 2 +-
valgrind/build.sh | 2 +-
sqlite/build.sh | 2 +-
mosquitto/build.sh | 2 +-
cjson/build.sh | 2 +-
README.md | 6 ++++++
lrzsz/build.sh | 2 +-
stunnel/build.sh | 2 +-
openssl/build.sh | 2 +-
busybox/build.sh | 2 +-
libxml2/build.sh | 2 +-
libgpiod/build.sh | 2 +-
16 files changed, 27 insertions(+), 14 deletions(-)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..bd248bc
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+
+# common files
+tarballs
+*.tar.gz
+*.tar.bz2
+install
+bak
diff --git a/README.md b/README.md
index 9fdb7b8..655add7 100644
--- a/README.md
+++ b/README.md
@@ -2,3 +2,9 @@
LingYun open library local/cross compile shell scripts
+Update cross compiler:
+
+```bash
+find -name "build.sh" -exec sed -i "s|^CROSS_COMPILE=.*|CROSS_COMPILE=/opt/gcc-aarch32-10.3-2021.07/bin/arm-none-linux-gnueabihf-|g" {} \;
+```
+
diff --git a/busybox/build.sh b/busybox/build.sh
index 429e9e2..e134a62 100755
--- a/busybox/build.sh
+++ b/busybox/build.sh
@@ -12,7 +12,7 @@
LIB_URL=$LY_FTP
# Cross compiler for cross compile on Linux server
-CROSS_COMPILE=arm-linux-gnueabihf-
+CROSS_COMPILE=/opt/gcc-aarch32-10.3-2021.07/bin/arm-none-linux-gnueabihf-
# compile jobs
JOBS=`cat /proc/cpuinfo |grep "processor"|wc -l`
diff --git a/cjson/build.sh b/cjson/build.sh
index ac95a55..6f0df1a 100755
--- a/cjson/build.sh
+++ b/cjson/build.sh
@@ -12,7 +12,7 @@
LIB_URL=$LY_FTP
# Cross compiler for cross compile on Linux server
-CROSS_COMPILE=arm-linux-gnueabihf-
+CROSS_COMPILE=/opt/gcc-aarch32-10.3-2021.07/bin/arm-none-linux-gnueabihf-
# compile jobs
JOBS=`cat /proc/cpuinfo |grep "processor"|wc -l`
diff --git a/libevent/build.sh b/libevent/build.sh
index 8a2042f..747957e 100755
--- a/libevent/build.sh
+++ b/libevent/build.sh
@@ -12,7 +12,7 @@
LIB_URL=$LY_FTP
# Cross compiler for cross compile on Linux server
-CROSS_COMPILE=arm-linux-gnueabihf-
+CROSS_COMPILE=/opt/gcc-aarch32-10.3-2021.07/bin/arm-none-linux-gnueabihf-
# compile jobs
JOBS=`cat /proc/cpuinfo |grep "processor"|wc -l`
diff --git a/libgpiod/build.sh b/libgpiod/build.sh
index 81f117d..d29cad4 100755
--- a/libgpiod/build.sh
+++ b/libgpiod/build.sh
@@ -12,7 +12,7 @@
LIB_URL=$LY_FTP
# Cross compiler for cross compile on Linux server
-CROSS_COMPILE=arm-linux-gnueabihf-
+CROSS_COMPILE=/opt/gcc-aarch32-10.3-2021.07/bin/arm-none-linux-gnueabihf-
# compile jobs
JOBS=`cat /proc/cpuinfo |grep "processor"|wc -l`
diff --git a/libxml2/build.sh b/libxml2/build.sh
index ffdcbdf..9bf87ac 100755
--- a/libxml2/build.sh
+++ b/libxml2/build.sh
@@ -12,7 +12,7 @@
LIB_URL=$LY_FTP
# Cross compiler for cross compile on Linux server
-CROSS_COMPILE=arm-linux-gnueabihf-
+CROSS_COMPILE=/opt/gcc-aarch32-10.3-2021.07/bin/arm-none-linux-gnueabihf-
# compile jobs
JOBS=`cat /proc/cpuinfo |grep "processor"|wc -l`
diff --git a/lrzsz/build.sh b/lrzsz/build.sh
index 0d5f4e2..b08c2f7 100755
--- a/lrzsz/build.sh
+++ b/lrzsz/build.sh
@@ -12,7 +12,7 @@
LIB_URL=$LY_FTP
# Cross compiler for cross compile on Linux server
-CROSS_COMPILE=arm-linux-gnueabihf-
+CROSS_COMPILE=/opt/gcc-aarch32-10.3-2021.07/bin/arm-none-linux-gnueabihf-
# compile jobs
JOBS=`cat /proc/cpuinfo |grep "processor"|wc -l`
diff --git a/mosquitto/build.sh b/mosquitto/build.sh
index ec91a05..983b65d 100755
--- a/mosquitto/build.sh
+++ b/mosquitto/build.sh
@@ -12,7 +12,7 @@
LIB_URL=$LY_FTP
# Cross compiler for cross compile on Linux server
-CROSS_COMPILE=arm-linux-gnueabihf-
+CROSS_COMPILE=/opt/gcc-aarch32-10.3-2021.07/bin/arm-none-linux-gnueabihf-
# compile jobs
JOBS=`cat /proc/cpuinfo |grep "processor"|wc -l`
diff --git a/opencv/build.sh b/opencv/build.sh
index c8df2f1..7710594 100755
--- a/opencv/build.sh
+++ b/opencv/build.sh
@@ -12,7 +12,7 @@
LIB_URL=$LY_FTP
# Cross compiler for cross compile on Linux server
-CROSS_COMPILE=arm-linux-gnueabihf-
+CROSS_COMPILE=/opt/gcc-aarch32-10.3-2021.07/bin/arm-none-linux-gnueabihf-
# compile jobs
JOBS=`cat /proc/cpuinfo |grep "processor"|wc -l`
diff --git a/openssl/build.sh b/openssl/build.sh
index e365d09..cde1cca 100755
--- a/openssl/build.sh
+++ b/openssl/build.sh
@@ -12,7 +12,7 @@
LIB_URL=$LY_FTP
# Cross compiler for cross compile on Linux server
-CROSS_COMPILE=arm-linux-gnueabihf-
+CROSS_COMPILE=/opt/gcc-aarch32-10.3-2021.07/bin/arm-none-linux-gnueabihf-
# compile jobs
JOBS=`cat /proc/cpuinfo |grep "processor"|wc -l`
diff --git a/pppd/build.sh b/pppd/build.sh
index 52aaee1..1ba107e 100755
--- a/pppd/build.sh
+++ b/pppd/build.sh
@@ -12,7 +12,7 @@
LIB_URL=$LY_FTP
# Cross compiler for cross compile on Linux server
-CROSS_COMPILE=arm-linux-gnueabihf-
+CROSS_COMPILE=/opt/gcc-aarch32-10.3-2021.07/bin/arm-none-linux-gnueabihf-
# compile jobs
JOBS=`cat /proc/cpuinfo |grep "processor"|wc -l`
diff --git a/qt/build.sh b/qt/build.sh
index 8bce607..af32e23 100755
--- a/qt/build.sh
+++ b/qt/build.sh
@@ -18,7 +18,7 @@
LIB_URL=$LY_FTP
# Cross compiler for cross compile on Linux server
-CROSS_COMPILE=arm-linux-gnueabihf-
+CROSS_COMPILE=/opt/gcc-aarch32-10.3-2021.07/bin/arm-none-linux-gnueabihf-
# compile jobs
JOBS=`cat /proc/cpuinfo |grep "processor"|wc -l`
diff --git a/sqlite/build.sh b/sqlite/build.sh
index 533ad0f..c3337f3 100755
--- a/sqlite/build.sh
+++ b/sqlite/build.sh
@@ -12,7 +12,7 @@
LIB_URL=$LY_FTP
# Cross compiler for cross compile on Linux server
-CROSS_COMPILE=arm-linux-gnueabihf-
+CROSS_COMPILE=/opt/gcc-aarch32-10.3-2021.07/bin/arm-none-linux-gnueabihf-
# compile jobs
JOBS=`cat /proc/cpuinfo |grep "processor"|wc -l`
diff --git a/stunnel/build.sh b/stunnel/build.sh
index 2452240..86f6e2f 100755
--- a/stunnel/build.sh
+++ b/stunnel/build.sh
@@ -12,7 +12,7 @@
LIB_URL=$LY_FTP
# Cross compiler for cross compile on Linux server
-CROSS_COMPILE=arm-linux-gnueabihf-
+CROSS_COMPILE=/opt/gcc-aarch32-10.3-2021.07/bin/arm-none-linux-gnueabihf-
# compile jobs
JOBS=`cat /proc/cpuinfo |grep "processor"|wc -l`
diff --git a/valgrind/build.sh b/valgrind/build.sh
index deda0b7..1d317fc 100755
--- a/valgrind/build.sh
+++ b/valgrind/build.sh
@@ -12,7 +12,7 @@
LIB_URL=$LY_FTP
# Cross compiler for cross compile on Linux server
-CROSS_COMPILE=arm-linux-gnueabihf-
+CROSS_COMPILE=/opt/gcc-aarch32-10.3-2021.07/bin/arm-none-linux-gnueabihf-
# compile jobs
JOBS=`cat /proc/cpuinfo |grep "processor"|wc -l`
--
Gitblit v1.10.0