Browse Source

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

Ruben Barkow 7 years ago
parent
commit
30811f7f1b
1 changed files with 2 additions and 1 deletions
  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