summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-06-06 16:14:05 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-06 16:14:05 +0200
commitf4673dfe8351f13293c13868cd45e3a57ef9bf10 (patch)
tree3eb22be88909d85baf2766247d77654ad9872205 /bin
parent140b1476ad55822938870cc8daec79d0d7a6115a (diff)
downloadjenkins.debian.net-f4673dfe8351f13293c13868cd45e3a57ef9bf10.tar.xz
reproducible coreboot: build toolchain using one core only because of upstream buildsystem
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_coreboot.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh
index 3bfb2cfe..b18e5b03 100755
--- a/bin/reproducible_coreboot.sh
+++ b/bin/reproducible_coreboot.sh
@@ -152,12 +152,11 @@ cd coreboot
git submodule update --init --checkout 3rdparty/blobs
COREBOOT="$(git log -1 | head -3)"
-NUM_CPU=$(cat /proc/cpuinfo |grep ^processor|wc -l)
echo "============================================================================="
echo "$(date -u) - Building cross compilers for ${ARCHS} now."
echo "============================================================================="
for ARCH in ${ARCHS} ; do
- make -j $NUM_CPU crossgcc-$ARCH
+ make crossgcc-$ARCH
done
echo "============================================================================="
@@ -167,6 +166,7 @@ export TZ="/usr/share/zoneinfo/Etc/GMT+12"
# prevent failing using more than one CPU
sed -i 's#MAKE=$i#MAKE=make#' util/abuild/abuild
# use all cores for first build
+NUM_CPU=$(cat /proc/cpuinfo |grep ^processor|wc -l)
sed -i "s#cpus=1#cpus=$NUM_CPU#" util/abuild/abuild
# actually build everything
bash util/abuild/abuild || true