Commit Graph

46 Commits

Author SHA1 Message Date
Yann E. MORIN"
e5a007415a scripts: misc help and auto-complete fixes
- don't list samples in the main help screen
- improve the samples listing in list-samples
- don't document the 'config' action, it's long dead
- document the 'V' environment variable
- improve on START, STOP and PREFIX environment variables
- add PREFIX and V to autocomplete
- advertise auto-complete at install time
2010-04-02 00:18:26 +02:00
Yann E. MORIN"
e743ae7d79 scripts: fix dumping the config for companion libraries for target
Companion libraries can be disable for the host, but still used for
the target (eg. binutils or gdb). Dump the version also in this case.
2010-03-19 18:46:57 +01:00
Yann E. MORIN"
7372fa2b76 scripts: fix dumping config
libelf has been moved to being a companion library, now.
2010-03-17 23:59:17 +01:00
Yann E. MORIN"
3eaa187de5 complibs: split-up selection for individual libs 2010-02-17 23:47:47 +01:00
Yann E. MORIN"
c971f6ee33 scripts/showsamples: fix non-POSIX construct 2010-02-07 17:17:52 +01:00
Yann E. MORIN"
964d20b1c7 scripts: dump the current tuple with show-config 2010-01-31 20:10:14 +01:00
Yann E. MORIN"
3fb0463536 scripts: add action to dump current configuration in humane-readable form 2010-01-31 15:57:22 +01:00
Yann E. MORIN"
75cb688486 samples: fix displaying samples 2010-01-03 18:33:23 +01:00
Yann E. MORIN"
eb2a7ba9b0 scripts: directly spit-out the date in the WiKi table, misc eye-candy
No need to go through a post-processing just for displaying the date...
2009-11-26 00:22:17 +01:00
Yann E. MORIN"
7ddb6648e0 scripts: fix Host/Target colums in WiKi table
Generate a better-looking WiKi table by re-arranging
the host and target columns.
2009-11-25 23:56:59 +01:00
Yann E. MORIN"
acba361851 scripts: fix WiKi table generation
The number of column in the top-most header was not updated to reflect the
fact that a new column was added to show the host (for canadian crosses).
2009-11-25 23:40:25 +01:00
Yann E. MORIN"
ea352a96a3 samples: show the PPL, GLoog/ppl and MPC versions
When displaying a sample, do show the PPL, CLoog/ppl and MPC versions
2009-09-07 19:03:09 +02:00
Yann E. MORIN"
565378d2b9 samples: fix displaying selected tools
Do display selected tools / debug facilities when displaying a sample.
2009-09-07 18:55:11 +02:00
Yann E. MORIN"
0d434aabb6 samples: replace usage of echo with printf
Using printf instead of echo allows easier and better formatting.
2009-09-07 18:40:30 +02:00
Yann E. MORIN"
5a4ac4ed36 [samples] Don't mix canadian samples with non-canadian ones.
- save the canadian smples in their own way, so as not to
  mix non-canadian samples with canadian ones
- list canadian samples with the host information
2009-06-26 19:09:22 +02:00
Yann E. MORIN"
d80eda68dd Use tools discovered via ./configure in scripts/showSample.sh; make it a POSIX shell script.
/trunk/scripts/showSamples.sh |   10     7     3     0 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
2009-02-01 18:43:45 +00:00
Yann E. MORIN"
9c5fd0d3af Eyecandy in the WiKi table.
/trunk/scripts/showSamples.sh |   20    12     8     0 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)
2008-11-01 16:49:00 +00:00
Yann E. MORIN"
a86bd90cbb Indent the samples list.
/trunk/scripts/showSamples.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-31 18:28:12 +00:00
Yann E. MORIN"
4f59e67c4d Typo.
/trunk/scripts/showSamples.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-27 18:19:08 +00:00
Yann E. MORIN"
c8a68d987b Introduce the notion of a 'sample comment'.
- presence of the sample's reported.by file is now mandatory.
- when saving a sample, reporter name & URL are queried, to avoid operator forget about creating the reported.by file.
- when saving a sample, one can store a few-liner comment.
- when recalling a sample, the reporter name, URL and comment (if present) are printed.
- update the powerpc-e500v2-linux-gnuspe sample to include Nate's comment (from his original mail).
- update all samples that were missing the reported.by file.

 /trunk/scripts/saveSample.sh                           |   46    35    11     0 ++++++++++++++++++------
 /trunk/scripts/showSamples.sh                          |   12     6     6     0 +++---
 /trunk/samples/powerpc-e500v2-linux-gnuspe/reported.by |   15    15     0     0 ++++++++
 /trunk/samples/samples.mk                              |   22    17     5     0 +++++++++--
 4 files changed, 73 insertions(+), 22 deletions(-)
2008-10-14 21:30:27 +00:00
Yann E. MORIN"
91a8de54e4 Beautify somewhat the WiKi table for narrow screens.
/trunk/scripts/showSamples.sh |    6     3     3     0 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
2008-09-14 16:54:12 +00:00
Yann E. MORIN"
799672a641 Introduce a new EXPERIMENTAL feature: BARE_METAL.
This should ultimately llow to build bare-metal compilers, for targets that have no kernel and no C library.
Move the C library build script to their own sub-directory; introduce an empty build script for bare-metal.
Move the compiler build script to its own sub-directory.
Move the kernel build script to its own sub-directory; introduce an empty build script for bare-metal.
Update the ARM target tuples to enable bare-metal targets.
Add two ARM bare-metal samples.
Add latest Linux kernel versions.

 /trunk/scripts/build/kernel/none.sh              |   77     6    71     0 +----
 /trunk/scripts/build/cc/gcc.sh                   |   58    41    17     0 ++-
 /trunk/scripts/build/libc/none.sh                |  513     9   504     0 +-----------------------------
 /trunk/scripts/crosstool.sh                      |   17     9     8     0 +
 /trunk/scripts/functions                         |    6     4     2     0 +
 /trunk/scripts/showSamples.sh                    |    6     3     3     0
 /trunk/samples/arm-unknown-elf/crosstool.config  |  225   225     0     0 +++++++++++++
 /trunk/samples/arm-unknown-eabi/crosstool.config |  223   223     0     0 +++++++++++++
 /trunk/config/kernel/linux_headers_install.in    |   64    27    37     0 ++--
 /trunk/config/kernel.in                          |    9     8     1     0 +
 /trunk/config/toolchain.in                       |    1     1     0     0 +
 /trunk/config/cc/gcc.in                          |    3     3     0     0 +
 /trunk/config/debug/dmalloc.in                   |    1     1     0     0 +
 /trunk/config/debug/gdb.in                       |    4     3     1     0 +
 /trunk/config/debug/strace.in                    |    1     1     0     0 +
 /trunk/config/debug/duma.in                      |    1     1     0     0 +
 /trunk/config/cc.in                              |    8     8     0     0 +
 /trunk/config/target.in                          |   13    13     0     0 +
 /trunk/config/binutils.in                        |    1     1     0     0 +
 /trunk/config/gmp_mpfr.in                        |    1     1     0     0 +
 /trunk/config/libc.in                            |   17    11     6     0 +
 /trunk/arch/arm/functions                        |    3     1     2     0 -
 22 files changed, 600 insertions(+), 652 deletions(-)
2008-09-14 16:21:07 +00:00
Yann E. MORIN"
fa8b6c8ffd Dump the EXPERIMENTAL status and brokenness of samples in the WiKi table.
/trunk/scripts/showSamples.sh |    9     7     2     0 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
2008-09-04 15:42:25 +00:00
Yann E. MORIN"
05fc40d0ec Beautify samples listing.
/trunk/scripts/showSamples.sh |    8     4     4     0 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
2008-09-02 21:14:47 +00:00
Yann E. MORIN"
2a4ab33370 Warn the user if he/she recalls a sample with EXPERIMENTAL features.
Also, print the EXPERIMENTAL status when listing the samples.

 /trunk/scripts/showSamples.sh |   12     9     3     0 +++++++++---
 /trunk/samples/samples.mk     |   12    12     0     0 ++++++++++++
 2 files changed, 21 insertions(+), 3 deletions(-)
2008-09-02 12:43:11 +00:00
Yann E. MORIN"
9dd85f517a Also dump the GMP and MPFR versions when dumping a sample in verbose mode.
/trunk/scripts/showSamples.sh |    3     3     0     0 +++
 1 file changed, 3 insertions(+)
2008-08-25 21:42:34 +00:00
Yann E. MORIN"
f7b84b7716 Pretyy-up the WiKi table with the date of last update for each sample.
/trunk/scripts/showSamples.sh |   15    12     3     0 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)
2008-07-29 16:48:20 +00:00
Yann E. MORIN"
66e2db8dad "Reported by" is now "First reported by".
/trunk/scripts/showSamples.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-07-27 12:03:34 +00:00
Yann E. MORIN"
88be762420 Also print the number of samples in the DokuWiki table.
/trunk/scripts/showSamples.sh |    6     6     0     0 ++++++
 1 file changed, 6 insertions(+)
2008-07-25 16:14:42 +00:00
Yann E. MORIN"
ebf85dfa9a Woops! It's the kernel v ersion that is /custom/, not the kernel it self!
/trunk/scripts/showSamples.sh |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-07-25 15:54:52 +00:00
Yann E. MORIN"
96089bc58c When dumping the DokuWiki table of samples, don't leave the kernel headers version empty if using a custom headers set., and say so.
/trunk/scripts/showSamples.sh |    6     5     1     0 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
2008-07-25 14:08:03 +00:00
Yann E. MORIN"
1ed626bc69 Some eye-candy in the WiKi status table.
/trunk/scripts/showSamples.sh |   11     6     5     0 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
2008-07-19 18:12:35 +00:00
Yann E. MORIN"
05655a9826 Small eye-candy in the WiKi table dump.
/trunk/scripts/showSamples.sh |   13     6     7     0 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)
2008-07-13 21:35:09 +00:00
Yann E. MORIN"
23c07022a9 Also report built-in languages in the status table.
/trunk/scripts/showSamples.sh |   15    12     3     0 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)
2008-07-13 20:45:24 +00:00
Yann E. MORIN"
6e13d4c6cf Fix wiki table sample output.
/trunk/scripts/showSamples.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-07-09 21:13:07 +00:00
Yann E. MORIN"
22bd5ce4ca Although working with bash, 'echo -n' is really non-portable.
Get rid of this by using printf(1) with no trailing new-line (\n).
Again, thanks to Martin GUY, who pointed this issue.

 /trunk/kconfig/kconfig.mk           |    2     1     1     0
 /trunk/scripts/build/libc_uClibc.sh |    4     3     1     0 ++
 /trunk/scripts/showSamples.sh       |   78    39    39     0 +++++++++++++++++++++---------------------
 3 files changed, 43 insertions(+), 41 deletions(-)
2008-07-07 21:25:57 +00:00
Yann E. MORIN"
77c6645749 Alloow for reporter without an URL (for privately mailed submissions).
/trunk/scripts/showSamples.sh |    8     6     2     0 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
2008-06-25 08:53:17 +00:00
Yann E. MORIN"
c15f99666a Re-format the dumped DokuWiki table of samples.
/trunk/scripts/showSamples.sh |   20    15     5     0 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)
2008-06-18 13:20:14 +00:00
Yann E. MORIN"
e08c8fa12a Add a new rule to build the sample table ready to include in the WiKi.
/trunk/scripts/showSamples.sh |   81    53    28     0 ++++++++++++++++++++++++++++++++-----------------
 /trunk/samples/samples.mk     |    6     6     0     0 ++++
 2 files changed, 59 insertions(+), 28 deletions(-)
2008-06-15 19:25:51 +00:00
Yann E. MORIN"
fddd535b29 Rework dumping the samples.
/trunk/scripts/showSamples.sh |    1     0     1     0 -
 /trunk/samples/samples.mk     |   10     7     3     0 +++++++---
 2 files changed, 7 insertions(+), 4 deletions(-)
2008-05-26 21:49:36 +00:00
Yann E. MORIN"
8739aa7574 Add a new help entry to list each samples more verbosely, but only on-demand.
/trunk/samples/samples.mk     |    4     4     0     0 ++++
 /trunk/scripts/showSamples.sh |   32    31     1     0 +++++++++++++++++++++++++++++++-
 2 files changed, 35 insertions(+), 1 deletion(-)
2008-05-02 21:49:43 +00:00
Yann E. MORIN"
26713d4210 Merge the build system to trunk: ct-ng is now installable:
- ./configure --prefix=/some/place
 - make
 - make install
 - export PATH="${PATH}:/some/place/bin"
 - ct-ng <action>
2007-07-01 19:04:20 +00:00
Yann E. MORIN"
ca5213a387 scripts/showSamples.sh:
- revert sample dumping to not show the components versions;

docs/overview.txt:
  - reorder docs/overview.txt so that configuring comes before running,
  - tell about regtest;

Makefile:
config/global.in:
  - point to docs/overview.txt for the list of steps;
2007-06-17 12:11:16 +00:00
Yann E. MORIN"
af0f7c4d33 Correctly handle the log level overide in scripts/saveSample.sh.
Little eye candy in scripts/showSamples.sh.
2007-05-23 19:07:54 +00:00
Yann E. MORIN"
2e925f1569 Mark broken samples as such: use a file named 'broken' in the sample's directory.
Reflected this state when listing samples (in scripts/showSamples.sh).
2007-05-22 21:18:55 +00:00
Yann E. MORIN"
1bfad917b6 Print the major components and their version when calling "make help". 2007-05-08 10:57:34 +00:00