LingYun open library local/cross compile shell scripts
guowenxue
2 days ago 3b4c6499f5fdd4e53efd13af9ebef427632493e7
Update cross compiler
15 files modified
1 files added
41 ■■■■■ changed files
.gitignore 7 ●●●●● patch | view | raw | blame | history
README.md 6 ●●●●● patch | view | raw | blame | history
busybox/build.sh 2 ●●● patch | view | raw | blame | history
cjson/build.sh 2 ●●● patch | view | raw | blame | history
libevent/build.sh 2 ●●● patch | view | raw | blame | history
libgpiod/build.sh 2 ●●● patch | view | raw | blame | history
libxml2/build.sh 2 ●●● patch | view | raw | blame | history
lrzsz/build.sh 2 ●●● patch | view | raw | blame | history
mosquitto/build.sh 2 ●●● patch | view | raw | blame | history
opencv/build.sh 2 ●●● patch | view | raw | blame | history
openssl/build.sh 2 ●●● patch | view | raw | blame | history
pppd/build.sh 2 ●●● patch | view | raw | blame | history
qt/build.sh 2 ●●● patch | view | raw | blame | history
sqlite/build.sh 2 ●●● patch | view | raw | blame | history
stunnel/build.sh 2 ●●● patch | view | raw | blame | history
valgrind/build.sh 2 ●●● patch | view | raw | blame | history
.gitignore
New file
@@ -0,0 +1,7 @@
# common files
tarballs
*.tar.gz
*.tar.bz2
install
bak
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" {} \;
```
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`
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`
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`
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`
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`
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`
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`
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`
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`
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`
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`
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`
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`
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`