Consistently use nproc for counting the CPUs
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 27 Jan 2020 06:59:46 +0000 (07:59 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 30 Jan 2020 18:30:35 +0000 (13:30 -0500)
commit84f0415201e57e1919a2c91684e64bdedd85d159
treea7965da1bac5321009bfe9e4919e5555c433c134
parent0f97e923d4921a057e1a7bbfac170cadefde5624
Consistently use nproc for counting the CPUs

Coreutils command nproc can be used on Linux and BSD to count the number of
available CPU cores. Use this instead of relying on the parsing of the
Linux specific proc file system.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
board/hisilicon/hikey/build-tf.mak
test/common.sh
test/fs/fs-test.sh