From 913e73558c8b39af03c1e4d434a4b80ba8288401 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sun, 18 Dec 2016 11:25:06 +0100 Subject: make-boot-image : make kernel in parrallel --- make-boot-image.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/make-boot-image.sh b/make-boot-image.sh index 006aad2..78a4ada 100755 --- a/make-boot-image.sh +++ b/make-boot-image.sh @@ -343,7 +343,9 @@ chmod +x "$WORKDIR/initrd/init" cd "$WORKDIR/kernel" # Workaround : some kernel version forget to update embed initramfs in certain cases [ -f usr/initramfs_data.cpio.gz ] && rm usr/initramfs_data.cpio.gz - make + nproc=$(nproc --all) + nproc=${nproc:-4} + make -j ${nproc+1} ) # Copy / run result EFI file # -- cgit v1.2.3