Simplify command to determine number of processors
This commit is contained in:
parent
40c2d178f3
commit
2dcee57e66
@ -28,7 +28,7 @@ A fully automated nightly build could use the following commands:
|
|||||||
(cd site && git pull)
|
(cd site && git pull)
|
||||||
make update
|
make update
|
||||||
make clean
|
make clean
|
||||||
NUM_CORES_PLUS_ONE=$(expr $(lscpu|grep -e '^CPU(s):'|xargs|cut -d" " -f2) + 1)
|
NUM_CORES_PLUS_ONE=$(expr $(nproc) + 1)
|
||||||
make -j$NUM_CORES_PLUS_ONE GLUON_TARGET=ar71xx-generic GLUON_BRANCH=experimental
|
make -j$NUM_CORES_PLUS_ONE GLUON_TARGET=ar71xx-generic GLUON_BRANCH=experimental
|
||||||
make manifest GLUON_BRANCH=experimental
|
make manifest GLUON_BRANCH=experimental
|
||||||
contrib/sign.sh $SECRETKEY output/images/sysupgrade/experimental.manifest
|
contrib/sign.sh $SECRETKEY output/images/sysupgrade/experimental.manifest
|
||||||
|
Loading…
Reference in New Issue
Block a user