# HG changeset patch # User Rob Landley # Date 1280851657 18000 # Node ID 8d5a672cd293fc1faaa04af89e596155a5142dc4 # Parent f66d99bb00f97457a06c6f40f72e911ae1f83436 build-control-images.sh got broken out a while ago, remove redundant code from buildall. diff -r f66d99bb00f9 -r 8d5a672cd293 more/buildall.sh --- a/more/buildall.sh Tue Aug 03 11:05:43 2010 -0500 +++ b/more/buildall.sh Tue Aug 03 11:07:37 2010 -0500 @@ -32,30 +32,27 @@ more/for-each-target.sh \ './build.sh $TARGET 2>&1 | tee build/logs/build-${TARGET}.txt' +more/build-control-images.sh + # Run smoketest.sh for each non-hw target. more/for-each-target.sh \ 'more/smoketest.sh $TARGET 2>&1 | tee build/logs/smoketest-$TARGET.txt' -more/build-control-images.sh - -# Build all control images - -mkdir -p build/control-images || dienow -for i in sources/native-builds/*.sh -do - X=$(echo $i | sed 's@.*/\(.*\)\.sh@\1@') - # Don't use maybe_fork here, the extract stages conflict. - $i build/control-images/${X}.hdc | maybe_quiet -done - -wait - # Build static-tools (dropbear and strace) for each target -mkdir -p build/native-static && +mkdir -p build/native-static || dienow +more/for-each-target.sh \ + 'ln -sf ../native-static build/system-image-$TARGET/upload' + more/for-each-target.sh \ - '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"' + 'more/timeout.sh 60 "more/native-build-from-build.sh $TARGET build/control-images/static-tools.hdc | tee build/logs/native-$TARGET.txt"' + +# If using a test version of busybox, run busybox test suite. + +is_in_list busybox "$USE_UNSTABLE" && + more/for-each-target.sh \ + 'more/timeout.sh 60 "more/native-build-from-build.sh $TARGET build/control-images/busybox-test.hdc" | tee build/logs/busybox-test-$TARGET.txt' # Create a file containing simple pass/fail results for all architectures.