Browse Source

Try re-enabling multicore build

bryan 1 month ago
parent
commit
fd3cef6915
1 changed files with 7 additions and 3 deletions
  1. 7 3
      openwrtbuilder

+ 7 - 3
openwrtbuilder

@@ -673,9 +673,13 @@ fromSource() {
 
 
     # Make image
     # Make image
     (( DEBUG )) && make_opts+=("V=s")
     (( DEBUG )) && make_opts+=("V=s")
-    #make_opts+=("-j$(($(nproc) - 2))")
-    make_opts+=("-j1")
-    execute make "${make_opts[@]}" defconfig download clean world
+
+    execute make "${make_opts[@]}" defconfig download clean
+
+    make_opts+=("-j$(($(nproc) - 2))")
+    #make_opts+=("-j1") # for debugging purposes
+
+    execute make "${make_opts[@]}" world
 
 
     popd || return 1
     popd || return 1