comparison more/buildall.sh @ 1192:8d5a672cd293

build-control-images.sh got broken out a while ago, remove redundant code from buildall.
author Rob Landley <rob@landley.net>
date Tue, 03 Aug 2010 11:07:37 -0500
parents c5ebf1e353c7
children dadbb8873a36
comparison
equal deleted inserted replaced
1191:f66d99bb00f9 1192:8d5a672cd293
30 # Build all non-hw targets, possibly in parallel 30 # Build all non-hw targets, possibly in parallel
31 31
32 more/for-each-target.sh \ 32 more/for-each-target.sh \
33 './build.sh $TARGET 2>&1 | tee build/logs/build-${TARGET}.txt' 33 './build.sh $TARGET 2>&1 | tee build/logs/build-${TARGET}.txt'
34 34
35 more/build-control-images.sh
36
35 # Run smoketest.sh for each non-hw target. 37 # Run smoketest.sh for each non-hw target.
36 38
37 more/for-each-target.sh \ 39 more/for-each-target.sh \
38 'more/smoketest.sh $TARGET 2>&1 | tee build/logs/smoketest-$TARGET.txt' 40 'more/smoketest.sh $TARGET 2>&1 | tee build/logs/smoketest-$TARGET.txt'
39 41
40 more/build-control-images.sh
41
42 # Build all control images
43
44 mkdir -p build/control-images || dienow
45 for i in sources/native-builds/*.sh
46 do
47 X=$(echo $i | sed 's@.*/\(.*\)\.sh@\1@')
48 # Don't use maybe_fork here, the extract stages conflict.
49 $i build/control-images/${X}.hdc | maybe_quiet
50 done
51
52 wait
53
54 # Build static-tools (dropbear and strace) for each target 42 # Build static-tools (dropbear and strace) for each target
55 43
56 mkdir -p build/native-static && 44 mkdir -p build/native-static || dienow
57 more/for-each-target.sh \ 45 more/for-each-target.sh \
58 'more/timeout.sh 60 "(cd build/system-image-$TARGET && ln -s ../native-static upload && ./native-build.sh ../control-images/static-tools.hdc) | tee build/logs/native-$TARGET.txt"' 46 'ln -sf ../native-static build/system-image-$TARGET/upload'
47
48 more/for-each-target.sh \
49 'more/timeout.sh 60 "more/native-build-from-build.sh $TARGET build/control-images/static-tools.hdc | tee build/logs/native-$TARGET.txt"'
50
51 # If using a test version of busybox, run busybox test suite.
52
53 is_in_list busybox "$USE_UNSTABLE" &&
54 more/for-each-target.sh \
55 'more/timeout.sh 60 "more/native-build-from-build.sh $TARGET build/control-images/busybox-test.hdc" | tee build/logs/busybox-test-$TARGET.txt'
59 56
60 # Create a file containing simple pass/fail results for all architectures. 57 # Create a file containing simple pass/fail results for all architectures.
61 58
62 more/smoketest-all.sh --logs | tee build/logs/status.txt 59 more/smoketest-all.sh --logs | tee build/logs/status.txt