changeset 902:ab47c4944591

Make buildall.sh do less host-specific work before allowing parallel builds to start.
author Rob Landley <rob@landley.net>
date Wed, 25 Nov 2009 21:58:16 -0600
parents 777af6561b2c
children 5ffc758bf60a
files sources/more/buildall.sh
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/sources/more/buildall.sh	Tue Nov 24 17:01:18 2009 -0600
+++ b/sources/more/buildall.sh	Wed Nov 25 21:58:16 2009 -0600
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-# Build every target architecture, creating out-$ARCH.txt log files.
+# Build every target architecture, creating build-$ARCH.txt log files.
 # If $FORK is set, build them in parallel.
 
 . sources/functions.sh || exit 1
@@ -30,9 +30,10 @@
 
 blank_tempdir build
 mkdir -p build/logs &&
-ln -s out-"$STATIC_CROSS_COMPILER_HOST".txt build/logs/out-host.txt &&
-(./build.sh 2>&1 "$STATIC_CROSS_COMPILER_HOST" || dienow) \
-  | tee build/logs/build-"$STATIC_CROSS_COMPILER_HOST".txt | maybe_quiet
+(./download.sh --extract 2>&1 &&
+ ./host-tools.sh 2>&1 &&
+ ./cross-compiler.sh 2>&1 "$STATIC_CROSS_COMPILER_HOST" ||
+ dienow) | tee build/logs/build-host-cc.txt | maybe_quiet
 
 cp packages/MANIFEST build || dienow