瀏覽代碼

Multicore --debug make

bryan 5 月之前
父節點
當前提交
7dbc7fc3ef
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      openwrtbuilder

+ 2 - 1
openwrtbuilder

@@ -578,7 +578,8 @@ from_source() {
   execute make "${make_opts[@]}" "-j1" distclean # TODO 'dirclean' has a bug that triggers menuconfig
   execute make "${make_opts[@]}" "-j1" defconfig
   execute make "${make_opts[@]}" "-j1" download
-  ((DEBUG)) && make_opts+=("-j1") || make_opts+=("-j$(($(nproc)+1))")
+  # ((DEBUG)) && make_opts+=("-j1") || make_opts+=("-j$(($(nproc)+1))")
+  make_opts+=("-j$(($(nproc)+1))")
 
   # Make image
   if ! execute ionice -c 3 chrt --idle 0 nice -n19 make "${make_opts[@]}" world; then