summaryrefslogtreecommitdiff
path: root/board/hisilicon/hikey/build-tf.mak
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-01-30 20:38:47 -0500
committerTom Rini <trini@konsulko.com>2020-01-30 20:38:47 -0500
commit514d00e527320a96c682029f4982955700f1664b (patch)
tree760a6e20566467356db07f68862f0088be0815b7 /board/hisilicon/hikey/build-tf.mak
parente7ab1cb3f0421ad8e8435a8258790e238c623ea2 (diff)
parent018921ee79d3f30893614b3b2b63b588d8544f73 (diff)
Merge branch '2020-01-30-master-imports'
- Assorted minor fixes - Revert 6dcb8ba4 from upstream libfdt to restore boot-time speed on many platforms.
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)