瀏覽代碼

Docs: autoupdater->build instructions num cores +1 (#908)

Ruben Barkow 7 年之前
父節點
當前提交
30811f7f1b
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      docs/features/autoupdater.rst

+ 2 - 1
docs/features/autoupdater.rst

@@ -28,7 +28,8 @@ A fully automated nightly build could use the following commands:
     (cd site && git pull)
     make update
     make clean
-    make -j5 GLUON_TARGET=ar71xx-generic GLUON_BRANCH=experimental
+    NUM_CORES_PLUS_ONE=$(expr $(nproc) + 1)
+    make -j$NUM_CORES_PLUS_ONE GLUON_TARGET=ar71xx-generic GLUON_BRANCH=experimental
     make manifest GLUON_BRANCH=experimental
     contrib/sign.sh $SECRETKEY output/images/sysupgrade/experimental.manifest