diff options
author | Carsten Schlote <c.schlote@konzeptpark.de> | 2007-08-28 14:36:20 +0000 |
---|---|---|
committer | Carsten Schlote <c.schlote@konzeptpark.de> | 2007-08-28 14:36:20 +0000 |
commit | e87aa4b971d5c6147d11eb8d20cfc769ba746c4f (patch) | |
tree | 06aaf179162a279706105901904fae92fe04af82 /build_all.sh | |
parent | 0a85e63ff062898e7932001d91ff9997a4365e61 (diff) | |
download | OSELAS.Toolchain-e87aa4b971d5c6147d11eb8d20cfc769ba746c4f.tar.gz OSELAS.Toolchain-e87aa4b971d5c6147d11eb8d20cfc769ba746c4f.tar.xz |
2007-08-28 Carsten Schlote <c.schlote@konzeptpark.de>
* Added simple build_all frame work, which uses dependencies on the
ptxconfig files. Whenever a config is updated, the corresponding
toolchain is recompiled.
* HACK: Added code to create a link to the installation directory in
rules/cross-toolchain.make - needed to create tar archives from the
toolchain installation.
git-svn-id: https://svn.pengutronix.de/svn/oselas/toolchain/trunks/OSELAS.Toolchain-trunk@3696 f8d472c7-5700-0410-ac5a-87979cec3adf
Diffstat (limited to 'build_all.sh')
-rwxr-xr-x | build_all.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/build_all.sh b/build_all.sh new file mode 100755 index 0000000..f5b6323 --- /dev/null +++ b/build_all.sh @@ -0,0 +1,25 @@ +#! /bin/bash +# This is some wrapper to call the makefile fragment, which builds all toolchains +# - might be a good place for common preparations and final postprocessing + +# -- Start make, which check dependencies on the ptxconfig files stored in gstate +# -- For each updated ptxconfig the toolchain is recompiled +# -- Finaly a status file suitable for parsing is generated and stored in +# -- gstate/OSELAS-BuildAll-Status.txt +# -- The make process is started with via nice to avoid cpu-load on compile host +nice -n 5 make -f build_all.mk + +# -- Dump status file +echo -n "\n\n" +cat gstate/OSELAS-BuildAll-Status.txt + +# -- ToDos: + +# [ ] Checkout a new working copy of trunk for each chain, and do building in parallel +# [ ] Create a nice HTML output for the status showing the actual status of each chain +# [ ] Add checks to ensure consitency of ptxconfig files and install locations - +# apply fixup-ptxconfigs.sh? +# [ ] Add code to create all install directory at once - so you have to enter the +# sudo password only once, when this script started the first time. +# [ ] Remove link to installation directory from cross-toolchain.make? +# We need some way to determine the installation path from outside ptxdist...
\ No newline at end of file |