From 7298fca349c66a13283cd4f71eb2df09a445ffc5 Mon Sep 17 00:00:00 2001 From: bryan Date: Tue, 22 Apr 2025 16:58:06 -0400 Subject: [PATCH] User serial compilation for --debug --- openwrtbuilder | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openwrtbuilder b/openwrtbuilder index 1c78edc..dd80166 100755 --- a/openwrtbuilder +++ b/openwrtbuilder @@ -591,8 +591,7 @@ from_source() { # Make prep execute make "${make_opts[@]}" "-j1" defconfig execute make "${make_opts[@]}" "-j1" download - # ((DEBUG)) && make_opts+=("-j1") || make_opts+=("-j$(($(nproc)+1))") - make_opts+=("-j$(($(nproc)-1))") + ((DEBUG)) && make_opts+=("-j1") || make_opts+=("-j$(($(nproc)-1))") # Make image if ! execute ionice -c 3 chrt --idle 0 nice -n19 make "${make_opts[@]}" world; then