From d8367f03c3608187c430232a6c4e05400efdbf3a Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sun, 1 Jul 2018 13:38:06 +0200 Subject: Use as many parallel task for perf and for kernel compilation --- make-boot-image.sh | 3 +-- 1 file changed, 1 insertion(+), 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 # -- cgit v1.2.3