]> 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:52:24 +0000 (09:52 -0500)
(cherry picked from commit 7775826a46b978c75a636dc51c27e4d7146ab2c8)

zygo/build-kernel

index ed2fd3ceffdc49405295d1e8b08750038051d612..3c19dc351f0ddfc8f9093bc2dc13d1410e364b40 100755 (executable)
@@ -37,10 +37,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