summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-07-01 13:38:06 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-07-01 13:38:06 +0200
commitd8367f03c3608187c430232a6c4e05400efdbf3a (patch)
tree73697e097d0b8bc9f0d9de37de963a1e2cad7dfe
parenteebebc2c66429978cd43c18e0d2f83beb65ba96a (diff)
downloadeficast-d8367f03c3608187c430232a6c4e05400efdbf3a.tar.gz
eficast-d8367f03c3608187c430232a6c4e05400efdbf3a.tar.bz2
eficast-d8367f03c3608187c430232a6c4e05400efdbf3a.zip
Use as many parallel task for perf and for kernel compilation
-rwxr-xr-xmake-boot-image.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/make-boot-image.sh b/make-boot-image.sh
index 1582f20..d81124d 100755
--- a/make-boot-image.sh
+++ b/make-boot-image.sh
@@ -538,8 +538,7 @@ chmod +x "$WORKDIR/initrd/bin/sinkdo"
# Workaround : some kernel version forget to update embed initramfs in certain cases
[ -f usr/initramfs_data.cpio.gz ] && rm usr/initramfs_data.cpio.gz
nproc=$(nproc --all)
- nproc=${nproc:-4}
- make -j $((nproc+1))
+ make -j ${nproc:-4}
)
# Copy / run result EFI file #