From e33d5cbc798eace1baf4d6e6343873da6001a66b Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Fri, 21 Aug 2020 22:43:06 +0800
Subject: [PATCH] update u-boot patch
---
3rdparty/libressl/build.sh | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/3rdparty/libressl/build.sh b/3rdparty/libressl/build.sh
index 9952271..3089b35 100755
--- a/3rdparty/libressl/build.sh
+++ b/3rdparty/libressl/build.sh
@@ -7,7 +7,10 @@
#| 1, Initialize 1.0.0 on 2011.04.12
#+--------------------------------------------------------------------------------------------
+JOBS=`cat /proc/cpuinfo |grep "processor"|wc -l`
+
PREFIX_PATH=`pwd`/../install
+mkdir -p ${PREFIX_PATH}/{bin,sbin,include,lib}
LYFTP_SRC=ftp://master.iot-yun.club/src/
@@ -79,7 +82,7 @@
#./configure ${CONFIG_CROSS} --prefix=${PREFIX_PATH} --with-pic --disable-shared --enable-static LIBS="-lpthread"
./configure ${CONFIG_CROSS} --prefix=${PREFIX_PATH} --with-pic LIBS="-lpthread"
- make && make install
+ make -j${JOBS} && make install
check_result "ERROR: compile ${SRC_NAME} failure"
cd -
--
Gitblit v1.9.1