From: Zygo Blaxell Date: Sat, 26 Oct 2024 03:35:27 +0000 (-0400) Subject: zygo: build-kernel: time the build X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6014413ed7b2106121cee1920fa00685793614fa;p=linux zygo: build-kernel: time the build --- diff --git a/zygo/build-kernel b/zygo/build-kernel index ced39dadeff9..22ce0839ac7f 100755 --- a/zygo/build-kernel +++ b/zygo/build-kernel @@ -37,9 +37,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