Procházet zdrojové kódy

Try re-enabling multicore build

bryan před 1 měsícem
rodič
revize
fd3cef6915
1 změnil soubory, kde provedl 7 přidání a 3 odebrání
  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