2009-01-26Use the paths found by ./configure in the ct-ng.in makefile script and its fragments.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 26 Jan 2009 18:36:02 +0000] rev 1155
Use the paths found by ./configure in the ct-ng.in makefile script and its fragments.

/trunk/kconfig/kconfig.mk | 2 1 1 0 +-
/trunk/samples/samples.mk | 18 9 9 0 +++++++++---------
/trunk/config/config.mk | 10 5 5 0 +++++-----
/trunk/ct-ng.in | 22 13 9 0 +++++++++++++---------
4 files changed, 28 insertions(+), 24 deletions(-)

2009-01-25Makefile.in: remove generated paths.mk during clean
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 25 Jan 2009 22:59:55 +0000] rev 1154
Makefile.in: remove generated paths.mk during clean

/trunk/Makefile.in | 2 2 0 0 ++
1 file changed, 2 insertions(+)

2009-01-25Makefile.in: create and install the Makefile and shell-script fragment "paths.mk", containing the paths found by ./configure
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 25 Jan 2009 22:58:26 +0000] rev 1153
Makefile.in: create and install the Makefile and shell-script fragment "paths.mk", containing the paths found by ./configure

/trunk/Makefile.in | 66 39 27 0 +++++++++++++++++++++++++++++++++++-------------------------
1 file changed, 39 insertions(+), 27 deletions(-)

2009-01-25Makefile.in: re-order tools in alphabetical order.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 25 Jan 2009 19:40:13 +0000] rev 1152
Makefile.in: re-order tools in alphabetical order.

/trunk/Makefile.in | 4 2 2 0 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

2009-01-25./configure: fix the tools pattern recognition
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 25 Jan 2009 19:26:40 +0000] rev 1151
./configure: fix the tools pattern recognition
- when a variable name was given, with no regexp, the pattern did not correctly extract the variable name

/trunk/configure | 11 8 3 0 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)

2009-01-25On 20090120.2203+0100, Andy Johnson <ajohnson@aecno.com> wrote:
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 25 Jan 2009 17:53:14 +0000] rev 1150
On 20090120.2203+0100, Andy Johnson <ajohnson@aecno.com> wrote:
The glibc.sh script doesn't handle the glibc versions with
an underscore very well (bash expected integer error). I
have attached a small patch for that. Instead of looking
for "not period" I changed the sense to look for numbers.
I initially tried to make it look for either a period or
an underscore, but that didn't work like I wanted (probably
because I did something wrong).

Original patch modified to be more robust.

/trunk/scripts/build/libc/glibc.sh | 8 4 4 0 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

2009-01-20On 20090115.0012+0100, "Andy Johnson" <ajohnson@aecno.com> wrote:
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 20 Jan 2009 20:37:43 +0000] rev 1149
On 20090115.0012+0100, "Andy Johnson" <ajohnson@aecno.com> wrote:
... I added a step after
"debug" called "finish", and moved the code in crosstool.sh
after the loop that processes the steps from crosstool.sh
into a do_finish function in functions. Thus, it is now
possible to restart after the "debug" step to re-do the
final few things (clean and compress).

/trunk/scripts/crosstool-NG.sh | 38 0 38 0 --------------------------------------
/trunk/scripts/functions | 42 42 0 0 ++++++++++++++++++++++++++++++++++++++++++
/trunk/steps.mk | 3 2 1 0 ++-
3 files changed, 44 insertions(+), 39 deletions(-)

2009-01-20Forced-removing of a non-existing directory breaks the build.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 20 Jan 2009 20:10:50 +0000] rev 1148
Forced-removing of a non-existing directory breaks the build.
Noticed by "Andy Johnson" <ajohnson@aecno.com>, who provided a patch that I adapted.

/trunk/scripts/functions | 13 10 3 0 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)

2009-01-20Fix building ltrace on PowerPC.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 20 Jan 2009 19:05:52 +0000] rev 1147
Fix building ltrace on PowerPC.

On 20090115.0012+0100, "Andy Johnson" <ajohnson@aecno.com> wrote:
ltrace wouldn't build on PowerPC because in the
sysdeps/linux-gnu directory in the ltrace source tree
the powerpc directory is called ppc. I added some code
in 400-ltrace.sh to create a symlink for it so it will
build now.

Patch slightly modified by me before applying.

/trunk/scripts/build/debug/400-ltrace.sh | 5 5 0 0 +++++
1 file changed, 5 insertions(+)

2009-01-20Backport patch for glibc-2.6.1 to glibc-2.6:
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 20 Jan 2009 18:55:46 +0000] rev 1146
Backport patch for glibc-2.6.1 to glibc-2.6:
- fixes glibc-2.6.1 build on OpenSOLARIS.

2009-01-20Add latest Linux kernel versions.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 20 Jan 2009 18:49:12 +0000] rev 1145
Add latest Linux kernel versions.

/trunk/config/kernel/linux.in | 10 10 0 0 ++++++++++
1 file changed, 10 insertions(+)

2009-01-19Small semantic fix in ct.ng(.in): use make builtin variable to know the make-script name.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 19 Jan 2009 21:57:55 +0000] rev 1144
Small semantic fix in ct.ng(.in): use make builtin variable to know the make-script name.

/trunk/ct-ng.in | 10 6 4 0 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

2009-01-18Rename scripts/crosstool.sh to scripts/crosstool-NG.sh.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 18 Jan 2009 17:45:10 +0000] rev 1143
Rename scripts/crosstool.sh to scripts/crosstool-NG.sh.
After all, this is not crosstool, but really crosstool-NG!

/trunk/steps.mk | 2 1 1 0 +-
/trunk/ct-ng.in | 2 1 1 0 +-
2 files changed, 2 insertions(+), 2 deletions(-)

2009-01-18Fix Makefile.in to use the correct variables.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 18 Jan 2009 17:41:58 +0000] rev 1142
Fix Makefile.in to use the correct variables.

/trunk/Makefile.in | 16 8 8 0 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

2009-01-18Use ./configure-discovered paths in Makefile.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 18 Jan 2009 15:40:02 +0000] rev 1141
Use ./configure-discovered paths in Makefile.

/trunk/Makefile.in | 55 31 24 0 +++++++++++++++++++++++++++++++------------------------
/trunk/ct-ng.in | 2 1 1 0 +-
2 files changed, 32 insertions(+), 25 deletions(-)

2009-01-18./configure: enable user to specify path to some tools
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 18 Jan 2009 15:08:28 +0000] rev 1140
./configure: enable user to specify path to some tools

/trunk/configure | 203 107 96 0 +++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 107 insertions(+), 96 deletions(-)

2009-01-16Add headers from linux-2.6.27.11.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 16 Jan 2009 09:13:16 +0000] rev 1139
Add headers from linux-2.6.27.11.

/trunk/config/kernel/linux.in | 5 5 0 0 +++++
1 file changed, 5 insertions(+)

2009-01-12Fix removing existing directories by chmod'ing them to be user-writeable.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 12 Jan 2009 21:35:23 +0000] rev 1138
Fix removing existing directories by chmod'ing them to be user-writeable.

/trunk/scripts/crosstool.sh | 21 10 11 0 ++++++++++-----------
/trunk/scripts/functions | 7 7 0 0 +++++++
2 files changed, 17 insertions(+), 11 deletions(-)

2009-01-12Fix a gcc-4.3.2 patch to correctly remove a file.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 12 Jan 2009 21:34:11 +0000] rev 1137
Fix a gcc-4.3.2 patch to correctly remove a file.
Initialy reported by Thomas Jourdan <tjourdan@neuf.fr>

/trunk/patches/gcc/4.3.2/220-noteGNUstack-01.patch | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)

2009-01-12Add a glibc-2.6.1 patch from Thomas Jourdan <tjourdan@neuf.fr>:
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 12 Jan 2009 19:04:41 +0000] rev 1136
Add a glibc-2.6.1 patch from Thomas Jourdan <tjourdan@neuf.fr>:
- fixes glibc-2.6.1 build on OpenSOLARIS.

/trunk/patches/glibc/2.6.1/220-cross-posix_makefile.patch | 65 65 0 0 +++++++++++++++++++++
1 file changed, 65 insertions(+)

2009-01-12Fix initialising the workspace:
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 12 Jan 2009 18:57:45 +0000] rev 1135
Fix initialising the workspace:
- don't remove directories in the background:
- it is highly dangerous
- it can lead to data loss in case of frequent stop/restart with a slow disk
- log actions with CT_DoExecLog as much as possible, instead of using |CT_DoLog

/trunk/scripts/crosstool.sh | 100 43 57 0 ++++++++++++++++++++++-----------------------------
1 file changed, 43 insertions(+), 57 deletions(-)

2009-01-12Don't print anything about LAN mirror if it is not used.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 12 Jan 2009 18:54:34 +0000] rev 1134
Don't print anything about LAN mirror if it is not used.
Don't re-compute a variable that has already been computed.

/trunk/scripts/functions | 16 9 7 0 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)

2009-01-11The uClibc site has been overhauled lately, so the URL to retrieve sstrip has changed.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 11 Jan 2009 18:05:25 +0000] rev 1133
The uClibc site has been overhauled lately, so the URL to retrieve sstrip has changed.
Thanks to Thomas Monjalon <thomas@monjalon.net> and John Utz <john@utzweb.net> for spotting this.

/trunk/scripts/build/tools/200-sstrip.sh | 13 10 3 0 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)

2009-01-07./configurei: make FORCE work again:
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 07 Jan 2009 12:11:37 +0000] rev 1132
./configurei: make FORCE work again:
- removed the --force command line option
- use FORCE from the environment

/trunk/configure | 9 2 7 0 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)

2009-01-06Add an option to forbid downloads.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 06 Jan 2009 22:34:36 +0000] rev 1131
Add an option to forbid downloads.
Idea and code-base from Don Elwell <don@manifoldlabs.com>, adapted by me.

/trunk/scripts/functions | 6 6 0 0 ++++++
/trunk/config/global/download.in | 18 18 0 0 ++++++++++++++++++
2 files changed, 24 insertions(+)

2009-01-06Update all samples to the latest set of config options.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 06 Jan 2009 22:22:02 +0000] rev 1130
Update all samples to the latest set of config options.
There might be some small issues here and there due to the split of CT_ExtractAndPatch.

/trunk/samples/x86_64-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/sh4-unknown-linux-gnu/crosstool.config | 13 10 3 0 +++++++++---
/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config | 10 7 3 0 ++++++---
/trunk/samples/arm-unknown-elf/crosstool.config | 8 4 4 0 +++---
/trunk/samples/arm-unknown-linux-gnueabi/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/armeb-unknown-eabi/crosstool.config | 8 4 4 0 +++---
/trunk/samples/ia64-unknown-linux-gnu/crosstool.config | 13 10 3 0 +++++++++---
/trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/armeb-unknown-linux-gnueabi/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/i686-nptl-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/arm-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/mips-unknown-linux-uclibc/crosstool.config | 10 7 3 0 ++++++---
/trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/arm-iphone-linux-gnueabi/crosstool.config | 5 2 3 0 ++---
/trunk/samples/armeb-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config | 10 7 3 0 ++++++---
/trunk/samples/arm-unknown-linux-uclibc/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/i586-geode-linux-uclibc/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/powerpc-405-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/mips-unknown-elf/crosstool.config | 8 4 4 0 +++---
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/mipsel-unknown-linux-gnu/crosstool.config | 13 10 3 0 +++++++++---
/trunk/samples/arm-unknown-eabi/crosstool.config | 8 4 4 0 +++---
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-860-linux-gnu/crosstool.config | 13 10 3 0 +++++++++---
28 files changed, 237 insertions(+), 88 deletions(-)

2009-01-06Add the Eclipse Java Compiler to be able to compile Java.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 06 Jan 2009 22:10:17 +0000] rev 1129
Add the Eclipse Java Compiler to be able to compile Java.
Andy JOHNSON wrote:
The Java compiler for GCC versions 4.3.0 and up requires the
Eclipse compiler "ecj1" to be built as well. I added "gcj" to
the list of utilities to make the initial link.


/trunk/scripts/build/cc/gcc.sh | 12 12 0 0 ++++++++++++
/trunk/scripts/crosstool.sh | 2 1 1 0 +-
/trunk/config/cc/gcc.in | 6 6 0 0 ++++++
3 files changed, 19 insertions(+), 1 deletion(-)

2009-01-06Fix building ARM Big Endian toolchain:
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 06 Jan 2009 21:05:33 +0000] rev 1128
Fix building ARM Big Endian toolchain:
- add a patch by Gilles CHANTEPERDRIX.

/trunk/patches/gcc/4.2.4/241-arm-bigendian2.patch | 33 33 0 0 +++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)

2009-01-06Message beautification when saving locally.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 06 Jan 2009 21:00:39 +0000] rev 1127
Message beautification when saving locally.

/trunk/scripts/functions | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)

2009-01-05Split CT_ExtractAndPatch in two: CT_Extract and CT_Patch:
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 05 Jan 2009 23:02:43 +0000] rev 1126
Split CT_ExtractAndPatch in two: CT_Extract and CT_Patch:
- it is unworkable to have CT_ExtactAndPAtch cope with all those silly glibc addons:
- they can have 'short' (as 'ports') or 'long' (as glibc-ports-2.7) names
- patches are against eithe the short or long name, but non-uniformly use one or the other
- it is the reposibility of the component (glibc in this case) to handle corner cases such as those
- update all components to use the new functions

/trunk/scripts/build/tools/000-template.sh | 3 2 1 0 +-
/trunk/scripts/build/tools/100-libelf.sh | 3 2 1 0 +-
/trunk/scripts/build/tools/200-sstrip.sh | 3 2 1 0 +-
/trunk/scripts/build/kernel/linux.sh | 3 2 1 0 +-
/trunk/scripts/build/binutils.sh | 3 2 1 0 +-
/trunk/scripts/build/cc/gcc.sh | 3 2 1 0 +-
/trunk/scripts/build/debug/000-template.sh | 3 2 1 0 +-
/trunk/scripts/build/debug/100-dmalloc.sh | 3 2 1 0 +-
/trunk/scripts/build/debug/400-ltrace.sh | 3 2 1 0 +-
/trunk/scripts/build/debug/300-gdb.sh | 9 6 3 0 +++--
/trunk/scripts/build/debug/500-strace.sh | 7 3 4 0 ++--
/trunk/scripts/build/debug/200-duma.sh | 19 8 11 0 ++++------
/trunk/scripts/build/libc/glibc.sh | 14 12 2 0 ++++++-
/trunk/scripts/build/libc/uClibc.sh | 13 9 4 0 +++++--
/trunk/scripts/build/libc/eglibc.sh | 14 12 2 0 ++++++-
/trunk/scripts/build/gmp.sh | 3 2 1 0 +-
/trunk/scripts/build/mpfr.sh | 3 2 1 0 +-
/trunk/scripts/functions | 68 36 32 0 +++++++++++++++++++-----------------
18 files changed, 108 insertions(+), 69 deletions(-)