comparison more/buildall.sh @ 1182:c5ebf1e353c7

Apparently this never quite got updated for commit 1116.
author Rob Landley <rob@landley.net>
date Tue, 27 Jul 2010 02:35:33 -0500
parents 300e6d919d86
children 8d5a672cd293
comparison
equal deleted inserted replaced
1181:0cc86c6680ac 1182:c5ebf1e353c7
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Build every target architecture, creating build-$ARCH.txt log files. 3 # Build every target architecture, saving log files to build/log.
4 # If $FORK is set, build them in parallel. 4 # If $FORK is set, build them in parallel.
5 5
6 . sources/functions.sh || exit 1 6 . sources/functions.sh || exit 1
7 7
8 [ -z "$STATIC_CC_HOST" ] && export STATIC_CC_HOST=i686 8 [ -z "$CROSS_HOST_ARCH" ] && export CROSS_HOST_ARCH=i686
9 9
10 trap "killtree $$" EXIT 10 trap "killtree $$" EXIT
11 11
12 # Build the host architecture. This has to be built first so the other 12 # Build the host architecture. This has to be built first so the other
13 # architectures can canadian cross static compilers to run on the host using 13 # architectures can canadian cross static compilers to run on the host using
20 20
21 blank_tempdir build 21 blank_tempdir build
22 mkdir -p build/logs && 22 mkdir -p build/logs &&
23 (EXTRACT_ALL=1 ./download.sh 2>&1 && 23 (EXTRACT_ALL=1 ./download.sh 2>&1 &&
24 ./host-tools.sh 2>&1 && 24 ./host-tools.sh 2>&1 &&
25 ./simple-cross-compiler.sh 2>&1 "$STATIC_CC_HOST" || 25 ./simple-cross-compiler.sh 2>&1 "$CROSS_HOST_ARCH" ||
26 dienow) | tee build/logs/build-host-cc.txt | maybe_quiet 26 dienow) | tee build/logs/build-host-cc.txt | maybe_quiet
27 27
28 cp packages/MANIFEST build || dienow 28 cp packages/MANIFEST build || dienow
29 29
30 # Build all non-hw targets, possibly in parallel 30 # Build all non-hw targets, possibly in parallel