Commit Graph

266 Commits

Author SHA1 Message Date
Yann E. MORIN"
c3817897cb Do log the glibc build commands.
/trunk/scripts/build/libc_glibc.sh |   80    44    36     0 ++++++++++++++++++++++++--------------------
 1 file changed, 44 insertions(+), 36 deletions(-)
2008-07-26 12:26:42 +00:00
Yann E. MORIN"
da88cd1dde Build a little bit more of gcc in //.
/trunk/scripts/build/cc_gcc.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-07-26 12:10:54 +00:00
Yann E. MORIN"
a586208ab4 In case of error, the error message would be printing in subshells, thus printing as many error message as there were subshells.
Limit printing this message only in the top-level shell.

 /trunk/scripts/functions |    2     2     0     0 ++
 1 file changed, 2 insertions(+)
2008-07-26 09:22:42 +00:00
Yann E. MORIN"
e64bc999d5 Hmmm. The debug pause at each step never ever worked... Sigh...
/trunk/scripts/crosstool.sh       |    2     1     1     0 +-
 /trunk/config/global/ct-behave.in |    2     1     1     0 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
2008-07-25 22:57:35 +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"
702532d61d While retrieving files, propagate the preferred extension down to sub-functions.
/trunk/scripts/functions |    8     5     3     0 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
2008-07-25 10:02:43 +00:00
Yann E. MORIN"
5575787f66 Make gcc-4.3.x build.
Thanks to both Ioannis E. VENETIS and Thomas JOURDAN for their help.

 /trunk/scripts/build/cc_gcc.sh |   26    22     4     0 ++++++++++++++++++++++----
 1 file changed, 22 insertions(+), 4 deletions(-)
2008-07-24 16:56:28 +00:00
Yann E. MORIN"
e6ba0e5854 Don't check fo lynx, it's no longer used.
/trunk/scripts/build/tools/200-sstrip.sh |    1     0     1     0 -
 1 file changed, 1 deletion(-)
2008-07-24 06:47:08 +00:00
Yann E. MORIN"
17693c9c98 Simplify downloading sstrip, using the common retrieval framework.
/trunk/scripts/build/tools/200-sstrip.sh |   31     3    28     0 +++----------------------------
 1 file changed, 3 insertions(+), 28 deletions(-)
2008-07-24 06:46:40 +00:00
Yann E. MORIN"
adc71fffcc When retrieving a file, allow preferred extension to be whatever starts with a dot, and not only one of .tar.bz2 .tar.gz .tgz or .tar.
/trunk/scripts/functions |    5     3     2     0 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
2008-07-24 06:42:29 +00:00
Yann E. MORIN"
f4f3f526b8 Remove garbage files left behind by downloads from sourceforge.net.
/trunk/scripts/build/debug/500-strace.sh |    4     4     0     0 ++++
 /trunk/scripts/build/debug/200-duma.sh   |    5     4     1     0 ++++-
 2 files changed, 8 insertions(+), 1 deletion(-)
2008-07-22 14:17:10 +00:00
Yann E. MORIN"
7abf35f472 Allow selecting 'latest' snapshot, as well as 'specific' date snapshot for glibc.
Update uClibc config to commonalise some help.

 /trunk/scripts/build/libc_glibc.sh |   22    20     2     0 ++++++++++++++++++++--
 /trunk/config/libc/glibc.in        |   12    12     0     0 ++++++++++++
 /trunk/config/libc/uClibc.in       |   12     4     8     0 ++++--------
 /trunk/config/libc.in              |   13    13     0     0 +++++++++++++
 4 files changed, 49 insertions(+), 10 deletions(-)
2008-07-22 13:29:08 +00:00
Yann E. MORIN"
2f6bd7b794 Introduce using a LAN mirror for retrieving tarballs.
/trunk/scripts/functions         |   40    36     4     0 ++++++++++++-
 /trunk/config/global/download.in |  146   115    31     0 ++++++++++++++++++++++++++++++++++++----------
 2 files changed, 151 insertions(+), 35 deletions(-)
2008-07-19 22:45:17 +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"
709299f291 Use POSIX constructs in the DUMA wrapper installed on the target.
/trunk/scripts/build/debug/duma.in |   13    12     1     0 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
2008-07-19 12:15:17 +00:00
Yann E. MORIN"
bb1fdedf57 Don't use a progress bar when saving samples, it's ugly.
/trunk/scripts/saveSample.sh |    7     5     2     0 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
2008-07-18 15:18:09 +00:00
Yann E. MORIN"
ba5a96ad78 Remove the check for absolutely needed tools now ./configure checks for them.
Move the check for 'lynx' to where it is needed (that is when sstrip from buildroot is selected).

 /trunk/scripts/build/tools/200-sstrip.sh |    1     1     0     0 +
 /trunk/scripts/crosstool.sh              |    5     0     5     0 -----
 2 files changed, 1 insertion(+), 5 deletions(-)
2008-07-17 21:17:19 +00:00
Yann E. MORIN"
78d1209616 Move the check for tsocks' availability just before using tsocks: make it clear we check before we use.
Use CT_DoExecLog to validate tsocks configuration.
Don't use gawk, but awk. awk *is* GNU awk, check by ./configure.

 /trunk/scripts/crosstool.sh |    9     5     4     0 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
2008-07-16 21:57:12 +00:00
Yann E. MORIN"
6e1b1ccb7d Use CT_DoExecLog when building tools and debug utilities.
/trunk/scripts/build/tools/200-sstrip.sh  |   12     6     6     0 ++++++------
 /trunk/scripts/build/debug/100-dmalloc.sh |   10     5     5     0 +++++-----
 /trunk/scripts/build/debug/400-ltrace.sh  |    5     3     2     0 +++--
 /trunk/scripts/build/debug/300-gdb.sh     |   30    17    13     0 +++++++++++++++++-------------
 /trunk/scripts/build/debug/500-strace.sh  |    7     4     3     0 ++++---
 /trunk/scripts/build/debug/200-duma.sh    |    5     3     2     0 +++--
 6 files changed, 38 insertions(+), 31 deletions(-)
2008-07-14 21:57:57 +00:00
Yann E. MORIN"
e377769fb1 Catching a double fault is doomed... Don't take action.
Simplify CT_DoExecLog: it does not support affectations prior to the command, anyway.

 /trunk/scripts/functions |    5     1     4     0 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
2008-07-14 21:56:58 +00:00
Yann E. MORIN"
0b499187a2 Fix CT_DoExecLog usage when building GMP for target.
/trunk/scripts/build/gmp.sh |    8     4     4     0 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
2008-07-14 21:21:35 +00:00
Yann E. MORIN"
4a03de30df Advertise using CT_DoExecLog in the tools and debug templates.
/trunk/scripts/build/tools/000-template.sh |    5     3     2     0 +++--
 /trunk/scripts/build/debug/000-template.sh |    5     3     2     0 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)
2008-07-14 16:04:41 +00:00
Yann E. MORIN"
223231bcc3 Use CT_DoExecLog when building libelf.
/trunk/scripts/build/tools/100-libelf.sh |    7     4     3     0 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
2008-07-14 15:58:39 +00:00
Yann E. MORIN"
549ef5d740 Use CT_DoExecLog when building gcc.
/trunk/scripts/build/cc_gcc.sh |   55    27    28     0 ++++++++++++++++++++++++------------------------
 1 file changed, 27 insertions(+), 28 deletions(-)
2008-07-14 15:56:57 +00:00
Yann E. MORIN"
00084df12b Use CT_DoExecLog when building uClibc.
/trunk/scripts/build/libc_uClibc.sh |   19    11     8     0 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)
2008-07-14 15:48:51 +00:00
Yann E. MORIN"
972fdecb11 Fix CT_DoExecLog usage when building binutils' libraries for target.
/trunk/scripts/build/binutils.sh |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-07-14 15:42:27 +00:00
Yann E. MORIN"
212f6fffff Use CT_DoExecLog in binutils build.
/trunk/scripts/build/binutils.sh |   16     9     7     0 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)
2008-07-14 15:27:20 +00:00
Yann E. MORIN"
4fcab60674 Don't print double-faults.
/trunk/scripts/functions |    3     3     0     0 +++
 1 file changed, 3 insertions(+)
2008-07-14 15:22:53 +00:00
Yann E. MORIN"
2a884e354a Log the command being run when calling CT_DoExecLog, which is kinda the point of CT_DoExecLog, anyway...
/trunk/scripts/functions |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-07-14 15:20:11 +00:00
Yann E. MORIN"
dd5a5f683e Use CT_DoExecLog for MPFR build.
/trunk/scripts/build/mpfr.sh |   48    25    23     0 +++++++++++++++++++++++++-----------------------
 1 file changed, 25 insertions(+), 23 deletions(-)
2008-07-14 15:15:40 +00:00
Yann E. MORIN"
f235889bde Use CT_DoExecLog for GMP build.
/trunk/scripts/build/gmp.sh |   12     7     5     0 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
2008-07-14 13:55:30 +00:00
Yann E. MORIN"
8c214615b0 Use CT_DoExecLog for Linux headers install.
/trunk/scripts/build/kernel_linux.sh |    6     4     2     0 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
2008-07-14 13:51:45 +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"
e171928b08 Also log the command being executed when calling CT_DoExecLog (no user yet).
/trunk/scripts/functions |    5     3     2     0 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
2008-07-13 10:44:26 +00:00
Yann E. MORIN"
6e49891565 Ioannis E. VENETIS <venetis@mail.capsl.udel.edu> pointed out that GMP and MPFR were not used by gcc.
Turned out that none could use GMP and MPFR as the config option changed its name, but the change was not propagated to all users.

 /trunk/scripts/build/binutils.sh      |    2     1     1     0 +-
 /trunk/scripts/build/debug/300-gdb.sh |    2     1     1     0 +-
 /trunk/scripts/build/cc_gcc.sh        |    6     3     3     0 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)
2008-07-13 10:32:38 +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"
08ca782e76 Newer, better, tsocks(1)-like wrapper script for D.U.M.A.
/trunk/scripts/build/debug/duma.in     |   44    44     0     0 ++++++++++++++++++++++++++++++++++++++++
 /trunk/scripts/build/debug/200-duma.sh |   12     3     9     0 +++--------
 2 files changed, 47 insertions(+), 9 deletions(-)
2008-06-30 20:37:14 +00:00
Yann E. MORIN"
e42f966f36 Native gcc is picky about the CC and LD variables. Set them unconditionally, whether building static or not.
/trunk/scripts/build/debug/300-gdb.sh |    5     3     2     0 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
2008-06-27 11:18:56 +00:00
Yann E. MORIN"
0f8a47d75c Do al ittle bit more jobs in parallel while building gcc.
/trunk/scripts/build/cc_gcc.sh |   10     5     5     0 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
2008-06-27 11:18:02 +00:00
Yann E. MORIN"
501143cea7 Don't force building target GMP and MPFR when a native gdb is built. Rather,
add a config knob to configure the native gdb to use or not to use GMP and
MPFR; _this_config_knob_ will force building the target GMP and MPFR only if
turned on.

 /trunk/scripts/build/debug/300-gdb.sh |    2     1     1     0 +-
 /trunk/config/debug/gdb.in            |   21    19     2     0 +++++++++++++++++++--
 2 files changed, 20 insertions(+), 3 deletions(-)
2008-06-25 21:56:36 +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"
6180cc0ea5 Allow to store working files outside the build tree (eg. incase the working tree is on the network).
/trunk/scripts/crosstool.sh   |    9     5     4     0 +++++----
 /trunk/config/global/paths.in |   23    22     1     0 ++++++++++++++++++++++-
 2 files changed, 27 insertions(+), 5 deletions(-)
2008-06-24 16:19:45 +00:00
Yann E. MORIN"
bf27958b7d Don't build ncurses ADA bindings if an ADA x-compiler was not built.
/trunk/scripts/build/debug/300-gdb.sh |    1     1     0     0 +
 1 file changed, 1 insertion(+)
2008-06-24 15:44:55 +00:00
Yann E. MORIN"
727566c0cb Only priunt WARNings when saving the current configuration.
Eye-candy in code.

 /trunk/scripts/saveSample.sh |   10     5     5     0 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
2008-06-22 17:30:37 +00:00
Yann E. MORIN"
1b00a301bd GMP and MPFR are no longer a sub-component of gcc (config-wise).
Build and install GMP and MPFR for the target.
Use the target GMP and MPFR to build the native gdb.
Have separate extra_config for cross gdb, native gdb and gdbserver.
Check native GMP and MPFR in //.

 /trunk/scripts/build/debug/300-gdb.sh |   27    19     8     0 ++++++++++++++++-------
 /trunk/scripts/build/gmp.sh           |   47    39     8     0 ++++++++++++++++++++++++++++++++-------
 /trunk/scripts/build/mpfr.sh          |   49    40     9     0 +++++++++++++++++++++++++++++++++--------
 /trunk/steps.mk                       |    2     2     0     0 ++
 /trunk/config/cc/gcc.in               |   18     1    17     0 +--------------
 /trunk/config/debug/gdb.in            |    6     1     5     0 +----
 /trunk/config/config.in               |    1     1     0     0 +
 /trunk/config/gmp_mpfr.in             |   34    34     0     0 ++++++++++++++++++++++++++++
 8 files changed, 137 insertions(+), 47 deletions(-)
2008-06-20 15:16:43 +00:00
Yann E. MORIN"
6e2180c1f2 Print "Build completed" only if not in error, not the other way around.
/trunk/scripts/functions |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-06-20 11:58:13 +00:00