summaryrefslogtreecommitdiff
path: root/bootstrap/bootstrap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/bootstrap.sh')
-rwxr-xr-xbootstrap/bootstrap.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bootstrap/bootstrap.sh b/bootstrap/bootstrap.sh
index 814f39a..71e2fab 100755
--- a/bootstrap/bootstrap.sh
+++ b/bootstrap/bootstrap.sh
@@ -4,7 +4,7 @@
## VERSIONS ##
# TODO move to a different package
-LINUX_VER=5.16.11
+LINUX_VER=5.17.1
BINUTILS_VER=2.38
MPFR_VER=4.1.0
MPC_VER=1.2.1
@@ -52,7 +52,7 @@ chroot=$(pwd)/chroot
PATH=${TOOLS}/bin:${CROSS_TOOLS}/bin:/usr/bin
-MAKEFLAGS="-j$(nproc)"
+MAKEFLAGS="-j$(grep "processor" /proc/cpuinfo | wc -l)"
export chroot TARGET PATH WD CURL_OPTS CROSS_TOOLS TOOLS MAKEFLAGS
@@ -108,7 +108,7 @@ ptch () {
clean () {
rm -rf $WD $CROSS_TOOLS $TOOLS
- mkdir -pv $WD $CROSS_TOOLS $TOOL
+ mkdir -p $WD $CROSS_TOOLS $TOOL
}
mount_chroot () {