summaryrefslogtreecommitdiff
path: root/bootstrap/bootstrap.sh
diff options
context:
space:
mode:
authordavidovski <git@davidovski.xyz>2022-04-07 21:04:30 +0100
committerdavidovski <git@davidovski.xyz>2022-04-07 21:04:30 +0100
commit7865aeacb7cb02d82c1276f64f07bfb968838ca6 (patch)
treeb887f5584ebd2ffcf9d1eefe7b1dacfd3d8108ef /bootstrap/bootstrap.sh
parent819fa943defac148c7970ef1ddf1ad4a6030396a (diff)
patched to work with sbase
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 () {