2010-12-12libc: hide no-thread for those C libraries that do not support it
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 12 Dec 2010 22:18:52 +0100] rev 2215
libc: hide no-thread for those C libraries that do not support it

Building non-threaded glibc has been unsupported for a long time, now:
http://sourceware.org/ml/libc-alpha/2005-08/msg00091.html

As eglibc is a spin-off of glibc: ditto.

So do not offer that possibility in the menuconfig.
Thanks to Thomas Petazzoni for spotting, and helping to solve, the issue!

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-12-12internals: fix stripping
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 12 Dec 2010 20:47:40 +0100] rev 2214
internals: fix stripping

Do not try to strip any script.

Previously, only shell scripts were ignored, but when the Java frontend
is installed, it also installs a Python script. So we have to ignore
any "script text executable", and not restrict it to "shell script text
executable".

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-12-05scripts/internals: strip all executables
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 05 Dec 2010 16:27:06 +0100] rev 2213
scripts/internals: strip all executables

Using a list of files to strip misses a few of them.
Now, scan appropriate directories, and strip all ELF
executables and shared objects.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-12-09cc/gcc: build bare-metal gcc statically
Bryan Hundven <bryanhundven@gmail.com> [Thu, 09 Dec 2010 18:55:59 +0100] rev 2212
cc/gcc: build bare-metal gcc statically

- add a new parameter to do_cc_core: build_statically=[yes|no]
- pass build_statically=yes in core_pass_2 when doing bare_metal
- fix handling the static / static libstdc++ / static complibs stuff
- add a commment to keep both blocks (in core and final) in sync

Signed-off-by: "Bryan Hundven" <bryanhundven@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-12-09cc/gcc: build final gcc statically
Bryan Hundven <bryanhundven@gmail.com> [Thu, 09 Dec 2010 18:55:42 +0100] rev 2211
cc/gcc: build final gcc statically

If the global static option is set, then build the final gcc statically.

Signed-off-by: "Bryan Hundven" <bryanhundven@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-12-09binutils/binutils: build statically
Bryan Hundven <bryanhundven@gmail.com> [Thu, 09 Dec 2010 18:55:33 +0100] rev 2210
binutils/binutils: build statically

If the global static option is set, then build binutils statically.

Signed-off-by: "Bryan Hundven" <bryanhundven@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-12-09debug/gdb: global static forces static cross-gdb
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 09 Dec 2010 18:55:15 +0100] rev 2209
debug/gdb: global static forces static cross-gdb

If the global static option is set, then build host binutils statically.

Signed-off-by: "Bryan Hundven" <bryanhundven@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-12-09complibs: do not prompt for shared libs if static selected
Bryan Hundven <bryanhundven@gmail.com> [Thu, 09 Dec 2010 18:54:46 +0100] rev 2208
complibs: do not prompt for shared libs if static selected

If the global static toolchain option is selected, then do not
prompt the user whether to build shared companion libraries.

Signed-off-by: "Bryan Hundven" <bryanhundven@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-12-09config: add option to build statically linked toolchain
Bryan Hundven <bryanhundven@gmail.com> [Thu, 09 Dec 2010 18:54:37 +0100] rev 2207
config: add option to build statically linked toolchain

Add a config option to statically build the host tools.
Impacted tools can use that option to decide wether to build
statically or shared.

For now, no tool uses it, but they'll be added one at a time
in the next commits.

Signed-off-by: "Bryan Hundven" <bryanhundven@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-11-29complibs/cloog: fix linking with libstdc++
Bill Pringlemeir <bpringle@sympatico.ca> [Mon, 29 Nov 2010 00:50:21 +0100] rev 2206
complibs/cloog: fix linking with libstdc++

This rules out 0.15.5 and previous versions, that did not
have this option, so remove them from the list. Anyway,
they were marked 'OBSOLETE', so it's not a big loss...

[Yann E. MORIN: remove obsolete versions]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>