]> git.hungrycats.org Git - linux/commitdiff
zygo: build-kernel: make scripts_gdb too, mod install in parallel
authorZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Sat, 12 Nov 2022 02:28:12 +0000 (21:28 -0500)
committerZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Thu, 17 Nov 2022 14:51:49 +0000 (09:51 -0500)
(cherry picked from commit 7775826a46b978c75a636dc51c27e4d7146ab2c8)

zygo/build-kernel

index e970bfb3b0bcccf4931042ea19c790302132298d..a53e98866f40b2d03bb3646619e3fa20f00244bd 100755 (executable)
@@ -38,10 +38,10 @@ fi
 cpuCount="$(grep -c '^processor' /proc/cpuinfo || echo 1)"
 
 if [ -n "$NO_MODULES" ]; then
-       make -j$((cpuCount*2)) "$@" EXTRAVERSION="$EXTRAVERSION" bzImage || exit $?
+       make -j$((cpuCount*2)) "$@" EXTRAVERSION="$EXTRAVERSION" bzImage scripts_gdb || exit $?
 else
-       make -j$((cpuCount*2)) "$@" EXTRAVERSION="$EXTRAVERSION" bzImage modules || exit $?
-       make -j$((cpuCount*2)) "$@" EXTRAVERSION="$EXTRAVERSION" INSTALL_MOD_PATH="$(realpath ../root)" modules_install || exit $?
+       make -j$((cpuCount*2)) "$@" EXTRAVERSION="$EXTRAVERSION" bzImage modules scripts_gdb \
+               INSTALL_MOD_PATH="$(realpath ../root)" modules_install || exit $?
 fi
 
 rsync -avxHSPW arch/x86/boot/bzImage ../root/boot/vmlinuz