LingYun open library local/cross compile shell scripts
guowenxue
yesterday 1530c6833afd310cde642feeb70ad95a0a41b90d
openssl/build.sh
@@ -6,13 +6,13 @@
PACK_SUFIX=tar.gz
# LingYun source code FTP server
LY_FTP=http://main.iot-yun.club:2211/src/
LY_FTP=http://master.weike-iot.com:8021/src/
# library download URL address
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`
@@ -157,7 +157,8 @@
   do_export
   ./Configure threads -shared -no-zlib --prefix=$PREFIX_PATH --openssldir=$PREFIX_PATH linux-armv4
   CROSS_COMPILE=${CROSSTOOL} ./Configure linux-armv4 \
      threads -shared -no-zlib --prefix=$PREFIX_PATH --openssldir=$PREFIX_PATH
   check_result "ERROR: configure ${LIB_NAME} failure"
   make -j ${JOBS} && make install