diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-10-31 18:31:01 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-10-31 18:31:01 +0000 |
commit | ea9b9ea07b96f9b9df767dc2a38141327045dfc1 (patch) | |
tree | aa3d88d4a9c05674f0474ee96a0c60192cfcbcf7 /ct-ng.comp | |
parent | eb0d243d0353fa9c62b1d579d3186d2683e3463d (diff) | |
download | crosstool-ng-ea9b9ea07b96f9b9df767dc2a38141327045dfc1.tar.gz crosstool-ng-ea9b9ea07b96f9b9df767dc2a38141327045dfc1.tar.bz2 crosstool-ng-ea9b9ea07b96f9b9df767dc2a38141327045dfc1.zip |
Remove regtest actions, introduce build-all actions:
- regtest was not easy to use
- one may wish to simply build all samples
- introduce a per-sample automatic build
/trunk/docs/overview.txt | 19 14 5 0 ++++++++---
/trunk/samples/samples.mk | 92 49 43 0 ++++++++++++++++++++++++++++-------------------------
/trunk/ct-ng.comp | 8 5 3 0 +++--
3 files changed, 68 insertions(+), 51 deletions(-)
Diffstat (limited to 'ct-ng.comp')
-rw-r--r-- | ct-ng.comp | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -8,19 +8,21 @@ _ct-ng () { samples=$(${COMP_WORDS[0]} list-samples 2>/dev/null) show_samples=$(echo "${samples}" |sed -r -e 's/(^| )/\1show-/g;') + build_samples=$(echo "${samples}" |sed -r -e 's/(^| )/\1build-/g;') steps=$(${COMP_WORDS[0]} list-steps 2>/dev/null |awk '$1 == "-" { print $2; }') start_steps=$(echo "${steps}" |sed -r -e 's/($| )/\1+/;') stop_steps=$(echo "${steps}" |sed -r -e 's/(^| )/+\1/;') actions='help menuconfig oldconfig saveconfig - list-samples build build. list-steps regtest regtest-local - regtest-global clean distclean wiki-samples updatetools + build build. build-all build-all. + list-samples list-steps + clean distclean wiki-samples updatetools tarball version' vars="RESTART= STOP=" - ct_ng_opts="${samples} ${show_samples} + ct_ng_opts="${samples} ${show_samples} ${build_samples} ${steps} ${start_steps} ${stop_steps} ${actions} ${vars}" |