aboutsummaryrefslogtreecommitdiff
path: root/build-arm-tf.sh
diff options
context:
space:
mode:
authorVijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>2020-08-11 22:43:50 +0530
committerVijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>2020-10-11 19:00:11 +0530
commit8ffc138d8317016f83897dcbe3277f5ce8dd27e2 (patch)
treec23197f93be2829220cf548ec8d546eb8e457c8e /build-arm-tf.sh
parent8c5db851606628e3ae0b26c5bc0720028a41c1c2 (diff)
build-*.sh: use parallelism to make build faster
Use $PARALLELISM for make builds to spawn multiple jobs. This results in better utilization of multi-core processor in the host machine used for build resulting in lesser build time. Change-Id: I2986a0ba3baf1db7409f55c018a4ebbcf6ccbc73 Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
Diffstat (limited to 'build-arm-tf.sh')
-rwxr-xr-xbuild-arm-tf.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-arm-tf.sh b/build-arm-tf.sh
index a001a19..8211279 100755
--- a/build-arm-tf.sh
+++ b/build-arm-tf.sh
@@ -83,8 +83,8 @@ do_build ()
done
# make tools
- make certtool
- make fiptool
+ make -j $PARALLELISM certtool
+ make -j $PARALLELISM fiptool
popd
fi
}