summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Lindholm <leif.lindholm@linaro.org>2019-07-10 22:16:56 +0100
committerLeif Lindholm <leif.lindholm@linaro.org>2019-07-11 12:36:20 +0000
commit25b4906fef41a80d1d364347527c10d2be78daa9 (patch)
treebcc389bea0064af229ec07682481d632105ca467
parent4507234240197ee0dc1830add75ab7fca0f3d6e6 (diff)
edk2-build.sh: build BaseTools in parallel
edk2 commit 9e1131b70b4b ("BaseTools: Update BaseTools top GNUMakefile with the clear dependency") made it possible to build BaseTools correctly with -j, so do that. Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
-rwxr-xr-xedk2-build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/edk2-build.sh b/edk2-build.sh
index 3af4e7c..6a7768a 100755
--- a/edk2-build.sh
+++ b/edk2-build.sh
@@ -221,7 +221,7 @@ function prepare_build
if [ $VERBOSE -eq 1 ]; then
echo "Building BaseTools"
fi
- make -C BaseTools
+ make -C BaseTools -j $NUM_THREADS
RET=$?
cd -
if [ $RET -ne 0 ]; then