don't use parallel make for installation
authorMatthias Rampke <matthias@rampke.de>
Tue, 16 Aug 2011 22:28:27 +0000 (00:28 +0200)
committerMatthias Rampke <matthias@rampke.de>
Tue, 16 Aug 2011 22:28:27 +0000 (00:28 +0200)
it's counterproductive and I've had Heisenbugs where make install
would abort with "Error 2" on various occasions but work when I called
it manually - without -j.

summon-arm-toolchain

index a20608d906193d4719a20b43bb801784d2d901fc..56192e1cc961ffd52a172b117c4fbbd4b7cc2c71 100755 (executable)
@@ -95,12 +95,13 @@ if [ -f local.sh ]; then
     . ./local.sh
 fi
 
-MAKEFLAGS=${PARALLEL}
+MAKEFLAGS=${PARALLEL} ${MAKESILENT}
 TARFLAGS=v
+MAKESILENT=
 
 if [ ${QUIET} != 0 ]; then
     TARFLAGS=
-    MAKEFLAGS="${MAKEFLAGS} -s"
+    MAKESILENT="-s"
 fi
 
 export PATH="${PREFIX}/bin:${PATH}"
@@ -185,7 +186,7 @@ unpack() {
 # Install a build
 doinstall() {
     log $1
-    ${SUDO} make ${MAKEFLAGS} $2 $3 $4 $5 $6 $7 $8
+    ${SUDO} make ${MAKESILENT} $2 $3 $4 $5 $6 $7 $8
 }
 
 if [ ! -d $SUMMON_DIR ]; then