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