]> git.hungrycats.org Git - linux/commitdiff
zygo: build-kernel: time the build
authorZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Sat, 26 Oct 2024 03:34:45 +0000 (23:34 -0400)
committerZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Sat, 26 Oct 2024 03:34:45 +0000 (23:34 -0400)
zygo/build-kernel

index 9a20dcdea1feb028b03c4d7d8f98b767023a3911..8fd6803f28d6085d3563e7af228193c52432932d 100755 (executable)
@@ -38,9 +38,9 @@ fi
 cpuCount="$(grep -c '^processor' /proc/cpuinfo || echo 1)"
 
 if [ -n "$NO_MODULES" ]; then
-       make -j$((cpuCount*2)) "$@" EXTRAVERSION="$EXTRAVERSION" bzImage scripts_gdb || exit $?
+       time make -j$((cpuCount*2)) "$@" EXTRAVERSION="$EXTRAVERSION" bzImage scripts_gdb || exit $?
 else
-       make -j$((cpuCount*2)) "$@" EXTRAVERSION="$EXTRAVERSION" bzImage modules scripts_gdb \
+       time make -j$((cpuCount*2)) "$@" EXTRAVERSION="$EXTRAVERSION" bzImage modules scripts_gdb \
                INSTALL_MOD_PATH="$(realpath ../root)" modules_install || exit $?
 fi