Improve make debug

This commit is contained in:
2024-05-21 17:12:03 -04:00
parent 4d721f43c1
commit 6f793dddb9

View File

@@ -673,7 +673,9 @@ fromSource() {
# Make prep
(( DEBUG )) && make_opts+=("V=s")
execute make "${make_opts[@]}" "-j1" dirclean defconfig download
execute make "${make_opts[@]}" "-j1" dirclean
execute make "${make_opts[@]}" "-j1" defconfig
execute make "${make_opts[@]}" "-j1" download
# Make image
if ! execute ionice -c 3 chrt --idle 0 nice -n19 make "${make_opts[@]}" "-j$(($(nproc)+1))" world; then