summaryrefslogtreecommitdiff
path: root/board/hisilicon/hikey/build-tf.mak
diff options
context:
space:
mode:
Diffstat (limited to 'board/hisilicon/hikey/build-tf.mak')
-rw-r--r--board/hisilicon/hikey/build-tf.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/hisilicon/hikey/build-tf.mak b/board/hisilicon/hikey/build-tf.mak
index cebb34b61b..cde04827e8 100644
--- a/board/hisilicon/hikey/build-tf.mak
+++ b/board/hisilicon/hikey/build-tf.mak
@@ -1,6 +1,6 @@
CROSS_COMPILE := aarch64-linux-gnu-
output_dir := $(PWD)/../bin
-makejobs := $(shell grep '^processor' /proc/cpuinfo | sort -u | wc -l)
+makejobs := $(nproc)
makethreads := $(shell dc -e "$(makejobs) 1 + p")
make_options := GCC49_AARCH64_PREFIX=$CROSS_COMPILE \
-j$(makethreads) -l$(makejobs)