From 344126d92614d04980a8f1b8ce4f4ec1d4956c5c Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 9 Jun 2015 14:47:11 +0200 Subject: reproducible coreboot: build crossgcc in parallel --- bin/reproducible_coreboot.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh index 0be55dcf..5cd23f8d 100755 --- a/bin/reproducible_coreboot.sh +++ b/bin/reproducible_coreboot.sh @@ -14,7 +14,7 @@ common_init "$@" set -e # build for different architectures -ARCHS="i386 mips arm arm64 riscv" +ARCHS="i386-elf x86_64-elf armv7a-eabi aarch64-elf mipsel-elf riscv-elf" cleanup_tmpdir() { cd @@ -96,7 +96,8 @@ GOT_XTOOLCHAIN=false set +e for ARCH in ${ARCHS} ; do echo "$(date -u) - Building cross compiler for ${ARCH}." - nice ionice -c 3 make -j $NUM_CPU crossgcc-$ARCH + # taken from util/crossgcc/Makefile: + nice ionice -c 3 bash util/crossgcc/buildgcc -j $NUM_CPU -p $ARCH RESULT=$? if [ $RESULT -eq 0 ] ; then GOT_XTOOLCHAIN=true -- cgit v1.2.3-70-g09d2