Mercurial > hg > aboriginal
annotate run-from-build.sh @ 1165:4ead0bad4ad8
Make sh4 less unhappy.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 10 Jul 2010 23:39:36 -0500 |
parents | 690b2f4cbbd3 |
children |
rev | line source |
---|---|
333
77c10235464d
Simple script to run mini-native under its emulator, with distcc hooked
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
1 #!/bin/bash |
77c10235464d
Simple script to run mini-native under its emulator, with distcc hooked
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
2 |
1145 | 3 # Run development environment out of build directory, using host-tools.sh if |
4 # available. | |
744
759adf5a0fe9
Refactor so include.sh mostly just sets environment variables. Move read_arch_dir to function and call it explicitly (no more need for $NO_ARCH). Make blank_tempdir a function, called explicitly by stages when needed, with some sanity checks. Insert prerequisite tests to later stages so they can detect failure early and provide an explicit erro rmessage, and have those tests happen before blanking $WORK dir, to preserve debugging info. Make buildall.sh depend on prerequisite tests rather than trying to avoid calling later stages (and thus do flow control from asynchronous context). Add FAIL_QUIET option so buildall.sh doesn't spam the log with the new prerequisite error messages.
Rob Landley <rob@landley.net>
parents:
678
diff
changeset
|
5 |
1145 | 6 cd build/system-image-"$1" && |
7 PATH="$(pwd)/build/host:$PATH" ./dev-environment.sh |