aboutsummaryrefslogtreecommitdiff
path: root/build-tftf.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-tftf.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-tftf.sh')
-rwxr-xr-xbuild-tftf.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-tftf.sh b/build-tftf.sh
index 349831f..174feaa 100755
--- a/build-tftf.sh
+++ b/build-tftf.sh
@@ -47,7 +47,7 @@ do_build ()
pushd $TOP_DIR/$TFTF_PATH
for plat in $TFTF_PLATS; do
- make PLAT=${plat} DEBUG=${TFTF_DEBUG_ENABLED} TEST_REPORTS="${TFTF_REPORTS}"
+ make -j $PARALLELISM PLAT=${plat} DEBUG=${TFTF_DEBUG_ENABLED} TEST_REPORTS="${TFTF_REPORTS}"
done
popd
fi