Explorar el Código

Try re-enabling multicore build

bryan hace 1 mes
padre
commit
fd3cef6915
Se han modificado 1 ficheros con 7 adiciones y 3 borrados
  1. 7 3
      openwrtbuilder

+ 7 - 3
openwrtbuilder

@@ -673,9 +673,13 @@ fromSource() {
 
     # Make image
     (( 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