Mercurial > hg > aboriginal
view run-from-build.sh @ 995:c867d05d8c4d
Optimize the linux and busybox bisects to not rebuild earlier sections unnecessarily.
Note that the busybox optimization is a bit subtle: if build.sh sees that root-filesystem-$ARCH.tar.bz2 doesn't exist, it'll delete system-image-$ARCH.tar.bz2 to signal the next stage needs to be rebuilt. So even if the root-filesystem build then dies, bisectinate.sh will still notice the build failed because the system-image tarball isn't there. (This wouldn't work for the cross-compiler tarball, the failure wouldn't propogate far enough on its own. In build.sh it only goes one stage forward at a time.)
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 07 Mar 2010 13:18:58 -0600 |
parents | fc134a13357e |
children | ac61473c45e8 |
line wrap: on
line source
#!/bin/bash # Grab cross compiler (for distcc) and run development environment. export PATH="$(pwd)/build/host:$(pwd)/build/"{,simple-}"cross-compiler-$1/bin:$PATH" # Run development environment. cd build/system-image-"$1" && ./dev-environment.sh