From 6014413ed7b2106121cee1920fa00685793614fa Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Fri, 25 Oct 2024 23:35:27 -0400 Subject: [PATCH] zygo: build-kernel: time the build --- zygo/build-kernel | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5