From bcfab0fc135b61b58d841ec76d65b1a195e799b0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Stelmach?= Date: Wed, 13 Jan 2021 11:12:04 +0100 Subject: [PATCH] script: use $NCPUS for arm64 builds too MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes: b371be68152e ("script: Fix to use NCPUS dynamically") Change-Id: I32b5c08f4b00ca24032a2f9355d308f3df825fbd Signed-off-by: Łukasz Stelmach --- build-rpi4.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-rpi4.sh b/build-rpi4.sh index c109144..31a8213 100755 --- a/build-rpi4.sh +++ b/build-rpi4.sh @@ -45,7 +45,7 @@ elif [ $1 = "arm64" ]; then if ! [ -e .config ] ; then make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- tizen_bcm2711_defconfig fi - make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j8 + make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j $NCPUS if [ ! -f "./arch/arm64/boot/Image" ]; then echo "Build fail" exit 1 -- 2.7.4