浏览代码

Try re-enabling multicore build

bryan 1 月之前
父节点
当前提交
fd3cef6915
共有 1 个文件被更改,包括 7 次插入3 次删除
  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