Mercurial > hg > aboriginal
view more/buildall-native.sh @ 1417:aabc07905de3
Now that the control-images have their own repository, remove them from this one.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 23 Jul 2011 21:58:24 -0500 |
parents | |
children | 1039cd16dc92 |
line wrap: on
line source
#!/bin/bash # Natively build for every target architecture, saving log files to build/log. # If $FORK is set, build them in parallel. . sources/utility_functions.sh || exit 1 if [ ! -f "$1" ] then echo "Can't find control image at \"$1\"" >&2 exit 1 fi trap "killtree $$" EXIT # Build the hdb images sequentially without timeout.sh, to avoid potential # I/O storm triggering timeouts FORK= more/for-each-target.sh \ '. sources/toys/make-hdb.sh; HDBMEGS=2048; HDB=build/system-image-$TARGET/hdb.img; echo "$HDB"; rm -f "$HDB"; make_hdb' # Build static-tools (dropbear and strace) for each target 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 "HDB=hdb.img more/native-build-from-build.sh $TARGET "'"$1"'" | tee build/logs/native-$TARGET.txt"'