2011-11-21libc/glibc: add extra CFLAGS when building the C library
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 21 Nov 2011 23:33:08 +0100] rev 2820
libc/glibc: add extra CFLAGS when building the C library

When building multilib, we need extra CFLAGS that tell the compiler
to use non-default settings (eg. big/little endian, hard/soft float,
-march/cpu/tune flags, and so on...).

We have to pass these flags to the build.

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

2011-12-13libc/glibc: no default mode for backend
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 13 Dec 2011 11:51:07 +0100] rev 2819
libc/glibc: no default mode for backend

The caller SHALL explicitly ask for a nmode, and not rely on a default mode.
That's what actually happens, so we can get rid of the default.

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

2011-12-30cc/gcc: print supported multilibs
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Dec 2011 21:43:10 +0100] rev 2818
cc/gcc: print supported multilibs

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

2011-11-23cc/gcc: build multilib
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 23 Nov 2011 23:51:07 +0100] rev 2817
cc/gcc: build multilib

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

2011-11-23binutils/binutils: build multilib
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 23 Nov 2011 23:27:12 +0100] rev 2816
binutils/binutils: build multilib

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

2011-11-23config: add option to build multilib
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 23 Nov 2011 23:25:43 +0100] rev 2815
config: add option to build multilib

Add a toolchain-wide option to enable multilib.

This is currently a noop, and will be implemented
in subsequent patches for each impacted components.

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

2011-12-31cc/gcc: add option to use system zlib
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 31 Dec 2011 16:23:27 +0100] rev 2814
cc/gcc: add option to use system zlib

In some cases, it might be desirable to use the system zlib

Eg. because latest gcc seem to be totally borked when it comes
to multilib, and tries to build a multilib host zlib, when it
is *absolutely* *not* needed: we want mulitlib on the target,
not on the host! Sigh... :-(

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

2011-12-30libc/uClibc: add latest version
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Dec 2011 22:04:24 +0100] rev 2813
libc/uClibc: add latest version

Add 0.9.32.1

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

2011-12-30kernel/linux: update to latest versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Dec 2011 14:16:49 +0100] rev 2812
kernel/linux: update to latest versions

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

2011-12-30scripts: update config.guess and config.sub
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 30 Dec 2011 14:15:43 +0100] rev 2811
scripts: update config.guess and config.sub

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

2011-12-14binutils/binutils: add the patches used by BuildRoot for 2.22
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Wed, 14 Dec 2011 19:57:47 +0100] rev 2810
binutils/binutils: add the patches used by BuildRoot for 2.22

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>

2011-12-14libc/eglibc: fix localedef 2.14 build
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Wed, 14 Dec 2011 16:55:22 +0100] rev 2809
libc/eglibc: fix localedef 2.14 build

The localedef of eglibc 2.14 requires NOT_IN_libc to be defined in order to
compile intl/l10nflist.c.

This is because localedef is built separately from eglibc and uses some parts of
eglibc that don't compile in standalone without this preprocessor definition.

This fixes the following error:

[ALL ] gcc -g -O2 -DNO_SYSCONF -DNO_UNCOMPRESS
-DLOCALE_PATH='"/usr/lib/locale:/usr/share/i18n"'
-DLOCALEDIR='"/usr/lib/locale"' -DLOCALE_ALIAS_PATH='"/usr/share/locale"'
-DCHARMAP_PATH='"/usr/share/i18n/charmaps"'
-DREPERTOIREMAP_PATH='"/usr/share/i18n/repertoiremaps"'
-DLOCSRCDIR='"/usr/share/i18n/locales"' -Iglibc/locale/programs -Iglibc/locale
-I/<snip>/.build/src/eglibc-localedef-2_14/include
-I/<snip>/.build/src/eglibc-localedef-2_14 -I.
-include /<snip>/.build/src/eglibc-localedef-2_14/include/always.h -Wall
-Wno-format -c -o locarchive.o glibc/locale/programs/locarchive.c
[ALL ] glibc/locale/programs/locarchive.c: In function 'enlarge_archive':
[ALL ] glibc/locale/programs/locarchive.c:303:21: warning: variable
'oldlocrectab' set but not used [-Wunused-but-set-variable]
[ALL ] In file included from glibc/locale/programs/locarchive.c:651:0:
[ALL ] glibc/locale/programs/../../intl/l10nflist.c: In function
'_nl_normalize_codeset':
[ERROR] glibc/locale/programs/../../intl/l10nflist.c:342:9: error:
'_nl_C_locobj_ptr' undeclared (first use in this function)
[ALL ] glibc/locale/programs/../../intl/l10nflist.c:342:9: note: each
undeclared identifier is reported only once for each function it appears in
[ALL ] glibc/locale/programs/locarchive.c: In function
'add_locales_to_archive':
[ALL ] glibc/locale/programs/locarchive.c:1450:7: warning: passing argument
1 of '__xpg_basename' discards 'const' qualifier from pointer target type
[enabled by default]
[ALL ] /usr/include/libgen.h:35:14: note: expected 'char *' but argument is
of type 'const char *'
[ERROR] make[1]: *** [locarchive.o] Error 1

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>

2011-12-15libc/newlib: build manual for newlib
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Thu, 15 Dec 2011 15:20:33 +0800] rev 2808
libc/newlib: build manual for newlib

Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
[yann.morin.1998@anciens.enib.fr: copy with a single call to 'cp']
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-12-13scripts: fix dumping execution backtrace
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 13 Dec 2011 23:32:39 +0100] rev 2807
scripts: fix dumping execution backtrace

Dumping the backtrace has been broken since changeset #652e56d6d35a:
scripts: execute each steps in a subshell

We can spawn sub-sub-shells in some cases.

The way the fault handler works is to dump the backtrace, but to avoid
printing it once for every sub-shell (which could get quite confusing),
it simply exits when it detects that it is being run in a sub-shell,
leaving to the top-level shell the work to dump the backtrace.

Because each step is executed in its own sub-shell, the variable arrays
that contain the step name, the source file and line number, are lost
when exiting the per-step sub-shell.

Hence, the backtrace is currently limited to printing only the top-level
main procedure of the shell.

Fix this thus:
- when dumping the bckatraces for the steps & the functions, remember
it was dumped, and only dump it if it was not already dumped
- at the top-level shell, print the hints

Also, rename the top-level step label.

Reported-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-21libc/glibc: document the glibc backend arguments
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 21 Nov 2011 23:35:21 +0100] rev 2806
libc/glibc: document the glibc backend arguments

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

2011-11-21libc/glibc: create build dir using libc_mode
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 21 Nov 2011 23:26:18 +0100] rev 2805
libc/glibc: create build dir using libc_mode

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

2011-12-12binutils/binutils: fix extra config array variable name
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Mon, 12 Dec 2011 20:24:05 +0100] rev 2804
binutils/binutils: fix extra config array variable name

The changeset 2467 #200836977ce6 missed renaming one occurrence of
CT_BINUTILS_EXTRA_CONFIG to CT_BINUTILS_EXTRA_CONFIG_ARRAY, which is fixed by
this patch.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>

2011-12-12debug/gdb: update Linaro GDB revisions to 2011.12
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Mon, 12 Dec 2011 13:27:59 +0100] rev 2803
debug/gdb: update Linaro GDB revisions to 2011.12

Update Linaro GDB with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>

2011-12-12cc/gcc: update Linaro GCC revisions to 2011.12
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Mon, 12 Dec 2011 13:25:11 +0100] rev 2802
cc/gcc: update Linaro GCC revisions to 2011.12

Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>

2011-12-12scripts: unset CONFIG_SITE
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 12 Dec 2011 21:41:16 +0200] rev 2801
scripts: unset CONFIG_SITE

Some distributions (eg. openSUSE 12.1) systematically export
the CONFIG_SITE environment variable to point to a custom
script setting misc paths for ./configure.

This can, and does, break when cross-compiling for architectures
that are not supported by this script.

The simple workaround is to unset this variable.
NB: buildroot has a similar fix:
http://git.buildroot.org/buildroot/commit/?id=12c9f7dd6dee9c6029b4f9a12d6aac1516911ab4

Reported-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-12-12kernel/linux: fix missing quote
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Mon, 12 Dec 2011 21:47:08 +0100] rev 2800
kernel/linux: fix missing quote

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>

2011-12-11kernel/linux: add latest versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 11 Dec 2011 23:14:57 +0100] rev 2799
kernel/linux: add latest versions

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

2011-12-12kernel/linux: add alternate download locations
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 12 Dec 2011 00:01:54 +0100] rev 2798
kernel/linux: add alternate download locations

Some longterm versions are not in the usual directory.
Account for these new locations.

Get rid of the mirror location, now that the main kernel site is
(almost) back to normal operations.

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

2011-11-28binutils/binutils: add binutils 2.22
Titus von Boxberg <titus@v9g.de> [Mon, 28 Nov 2011 21:27:08 +0100] rev 2797
binutils/binutils: add binutils 2.22

Enable (EXPERIMENTAL) selection of binutils 2.22

Signed-off-by: "Titus von Boxberg" <titus@v9g.de>

2011-12-07scripts: create CT_HEADERS_DIR
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Wed, 07 Dec 2011 16:15:50 +0800] rev 2796
scripts: create CT_HEADERS_DIR

"${CT_SYSROOT_DIR}/usr/include" is only for "${CT_USE_SYSROOT}" = "y".
We should also mkdir when "${CT_USE_SYSROOT}" != "y".
"${CT_HEADERS_DIR}" can support both cases.

Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>

2011-11-30scripts: use CT_CONFIG_SHELL instead of CT_SHELL
Titus von Boxberg <titus@v9g.de> [Wed, 30 Nov 2011 12:07:59 +0100] rev 2795
scripts: use CT_CONFIG_SHELL instead of CT_SHELL

CT_SHELL is undefined.
Thus, the generated wrapper scripts are not executable by the kernel
because they do not contain a valid interpreter.
Use CT_CONFIG_SHELL instead.

Signed-off-by: "Titus von Boxberg" <titus@v9g.de>

2011-11-25config/target: enforce floating point support
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 25 Nov 2011 23:59:29 +0100] rev 2794
config/target: enforce floating point support

Do not prompt for the type of floating-point support, if the
architecture did not explicitly stated that it did support it.

Reported-by: Morten Thunberg Svendsen <mts@doredevelopment.dk>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-24arch/sparc: Sparc supports setting the floating point type
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 24 Nov 2011 19:48:35 +0100] rev 2793
arch/sparc: Sparc supports setting the floating point type

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

2011-11-24arch/powerpc: PowerPC supports setting the floating point type
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 24 Nov 2011 19:44:17 +0100] rev 2792
arch/powerpc: PowerPC supports setting the floating point type

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

2011-11-24arch/mips: MIPS supports setting the floating point type
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 24 Nov 2011 19:42:02 +0100] rev 2791
arch/mips: MIPS supports setting the floating point type

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

2011-11-24arch/arm: ARM supports setting the floating point type
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 24 Nov 2011 19:38:37 +0100] rev 2790
arch/arm: ARM supports setting the floating point type

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

2011-11-25config/target: add float support selection
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 25 Nov 2011 23:57:55 +0100] rev 2789
config/target: add float support selection

Changeset #149c33923f47 broke the architectures that do not
support the --with-float=X ./configure flag (in gcc). For example,
x86_64 does not support it.

Add a new blind config option that architectures can set to tell
they support floating point selection.

Reported-by: Morten Thunberg Svendsen <mts@doredevelopment.dk>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-30arch: rename the SUPPORT_XXX options
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 30 Nov 2011 00:25:22 +0100] rev 2788
arch: rename the SUPPORT_XXX options

First, 'SUPPORT' should be spelled 'SUPPORTS'.

Second, 'SUPPORT_XXX' really means 'supports --with-xxx', so rename the
affected options accordingly. Update the affected archs to match the new
namings.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-28libc/newlib: remove hard-coded "-O"
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Mon, 28 Nov 2011 16:05:23 +0800] rev 2787
libc/newlib: remove hard-coded "-O"

With hard-coded "-O", users can not customize CFLAGS_FOR_TARGET
by CT_TARGET_CFLAGS. If "-O" is needed, users can input it in
CT_TARGET_CFLAGS. By default, "-Os" is enabled.

Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>

2011-11-28config: fix NLS typo
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 28 Nov 2011 18:35:17 +0100] rev 2786
config: fix NLS typo

Reported-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-22scripts/functions: extract: portable call for old and defective tars
Titus von Boxberg <titus@v9g.de> [Tue, 22 Nov 2011 10:08:10 +0100] rev 2785
scripts/functions: extract: portable call for old and defective tars

Instead of using -J, --lzma, --use-compress-program or the like
use <compressor> -dc <file> | tar -f -

Signed-off-by: Titus von Boxberg <titus@v9g.de>

2011-11-23debug/gdb: add extra config for gdb cross.
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Wed, 23 Nov 2011 13:15:27 +0800] rev 2784
debug/gdb: add extra config for gdb cross.

Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
[yann.morin.1998@anciens.enib.fr: prompt rewording, as suggested by M. Hope]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-22libc/newlib: add option to optimise for size
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Tue, 22 Nov 2011 14:18:14 +0800] rev 2783
libc/newlib: add option to optimise for size

Add an option to build with -Os instead of the default -O.

Reviewed-by: Michael Hope
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>

2011-11-18cc/gcc: Apply CT_CC_GCC_DISABLE_PCH to do_cc_core.
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Fri, 18 Nov 2011 11:32:50 +0800] rev 2782
cc/gcc: Apply CT_CC_GCC_DISABLE_PCH to do_cc_core.

Otherwise, users have to input --disable-libstdcxx-pch option
when building bare-metal CANADIAN C++ compiler.

Reviewed-by: Michael Hope
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>

2011-11-18libc/newlib: Add extra config for newlib.
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Fri, 18 Nov 2011 11:47:30 +0800] rev 2781
libc/newlib: Add extra config for newlib.

So users can input config like --enable-newlib-register-fini.

Reviewed-by: Michael Hope
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>

2011-11-17cc/gcc: handle NLS option
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Thu, 17 Nov 2011 18:00:28 +0800] rev 2780
cc/gcc: handle NLS option

Add --disable-nls config when option "Enable nls" is not selected.

Reviewed-by: Michael Hope
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>

2011-11-17binutils/binutils: handle NLS option
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Thu, 17 Nov 2011 17:59:44 +0800] rev 2779
binutils/binutils: handle NLS option

Add --disable-nls config when option "Enable nls" is not selected.

Reviewed-by: Michael Hope
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>

2011-11-18config/toolchain: Add "Enable nls" in "Toolchain options".
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Fri, 18 Nov 2011 15:29:18 +0800] rev 2778
config/toolchain: Add "Enable nls" in "Toolchain options".

Reviewed-by: Michael Hope
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>

2011-11-20libc/uClibc: use endian string in tests
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 20 Nov 2011 21:08:27 +0100] rev 2777
libc/uClibc: use endian string in tests

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

2011-11-20libc/eglibc: use endian string in tests
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 20 Nov 2011 21:06:36 +0100] rev 2776
libc/eglibc: use endian string in tests

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

2011-11-20arch/sh: use endian string in tests
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 20 Nov 2011 21:05:36 +0100] rev 2775
arch/sh: use endian string in tests

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

2011-11-20arch/mips: use endian string in tests
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 20 Nov 2011 21:04:31 +0100] rev 2774
arch/mips: use endian string in tests

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

2011-11-20scripts/functions: use endian string in tests
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 20 Nov 2011 21:01:34 +0100] rev 2773
scripts/functions: use endian string in tests

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

2011-11-14config: introduce endianness as a string
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 14 Nov 2011 19:13:00 +0100] rev 2772
config: introduce endianness as a string

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

2011-11-201.13: update version to 1.13.2+hg 1.13
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 20 Nov 2011 20:57:06 +0100] rev 2771
1.13: update version to 1.13.2+hg

2011-11-20Tagging release 1.13.2 1.13
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 20 Nov 2011 20:57:06 +0100] rev 2770
Tagging release 1.13.2

2011-11-201.13: update version to 1.13.2 1.13 crosstool-ng-1.13.2
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 20 Nov 2011 20:57:06 +0100] rev 2769
1.13: update version to 1.13.2

2011-11-17arch/x86: prescott is an i686 1.13
Titus von Boxberg <titus@v9g.de> [Thu, 17 Nov 2011 14:18:44 +0100] rev 2768
arch/x86: prescott is an i686

let CT_ARCH_ARCH=prescott result in a i686 tuple prefix

Signed-off-by: Titus von Boxberg <titus@v9g.de>
(transplanted from d063b1ae8c1b30c7006b110d0f9045e6d7c34f13)

2011-10-16complibs/cloog: auto-reconf for 0.15.10 and later 1.13
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 16 Oct 2011 15:10:29 +0200] rev 2767
complibs/cloog: auto-reconf for 0.15.10 and later

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 47199f966983bab6a68b2b5da2e1542adbd9388a)

2011-10-16complibs/cloog: fix extraction 1.13
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 16 Oct 2011 14:58:29 +0200] rev 2766
complibs/cloog: fix extraction

In the early days, cloog-ppl was bizarrely packaged: the first tarball
did not contain the version in the name of the extracted directory, so
we had to play tricks.

Nowadays, however, the first component of the path are stripped when
extracting a tarball, which means that the created directory will
always be properly named. So, our old tricks do no longer work, and
worse, they break the build.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from f070d922facf42b0395b7db909e1867d45b245dd)

2011-11-16scripts: add support for building manuals
Michael Hope <michael.hope@linaro.org> [Wed, 16 Nov 2011 10:06:21 +1300] rev 2765
scripts: add support for building manuals

Add support for building the HTML and PDF manuals for the major
components. Implement for binutils, GCC, GDB, and GLIBC.

Always build all manuals and install a subset. Be explicit about the
subset to reduce the clutter and to avoid getting copies of common
manuals like bfd from all of the sourceware based components. Downside of
being explicit is that you need to update it when a new component
comes along.

Build the manuals as part of the last GCC build, namely 'cc' for glibc
based ones and cc_core_pass_2 for baremetal.

An example of the output is at:
http://people.linaro.org/~michaelh/incoming/crosstool-NG/

Signed-off-by: Michael Hope <michael.hope@linaro.org>
[yann.morin.1998@anciens.enib.fr: depends on ! remove docs; gold manual install]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-16docs: Add strategies for assembling root filesystems.
Trevor Woerner <twoerner@gmail.com> [Wed, 16 Nov 2011 17:36:17 -0500] rev 2764
docs: Add strategies for assembling root filesystems.

Expand the documentation for using a crosstool-NG-generated toolchain for
building a root filesystem for a target device.

Signed-off-by: "Trevor Woerner" <twoerner@gmail.com>
yann.morin.1998@anciens.enib.fr: some eye-candy]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-07scripts: use wget, not curl
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 07 Nov 2011 21:40:28 +0100] rev 2763
scripts: use wget, not curl

It seems wget is more popular than curl.

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

2011-11-14scripts: use the floating-point string option in tests
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 14 Nov 2011 18:53:14 +0100] rev 2762
scripts: use the floating-point string option in tests

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

2011-11-14libc/uClibc: use the floating-point string option in tests
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 14 Nov 2011 18:54:37 +0100] rev 2761
libc/uClibc: use the floating-point string option in tests

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

2011-11-14arch/sh: use the floating-point string option in tests
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 14 Nov 2011 18:51:20 +0100] rev 2760
arch/sh: use the floating-point string option in tests

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

2011-11-17arch/x86: prescott is an i686
Titus von Boxberg <titus@v9g.de> [Thu, 17 Nov 2011 14:18:44 +0100] rev 2759
arch/x86: prescott is an i686

let CT_ARCH_ARCH=prescott result in a i686 tuple prefix

Signed-off-by: Titus von Boxberg <titus@v9g.de>

2011-10-16complibs/cloog: auto-reconf for 0.15.10 and later
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 16 Oct 2011 15:10:29 +0200] rev 2758
complibs/cloog: auto-reconf for 0.15.10 and later

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

2011-10-16complibs/cloog: fix extraction
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 16 Oct 2011 14:58:29 +0200] rev 2757
complibs/cloog: fix extraction

In the early days, cloog-ppl was bizarrely packaged: the first tarball
did not contain the version in the name of the extracted directory, so
we had to play tricks.

Nowadays, however, the first component of the path are stripped when
extracting a tarball, which means that the created directory will
always be properly named. So, our old tricks do no longer work, and
worse, they break the build.

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

2011-10-16complibs/mpfr: update to 3.1.0
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 16 Oct 2011 14:38:52 +0200] rev 2756
complibs/mpfr: update to 3.1.0

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

2011-11-15debug/gdb: fix tic install path, tell ncurses where to find it 1.13
Willy Tarreau <w@1wt.eu> [Tue, 15 Nov 2011 19:11:57 +0100] rev 2755
debug/gdb: fix tic install path, tell ncurses where to find it

ncurses 5.9 wants tic to be either one of:
- $TIC_PATH
- /usr/bin/tic

Of course, se do not want the latter, for it can be incompatible if the
ncurses in the build system is too old (eg. RHEL 5.6, Debian Lenny...).
So, force TIC_PATH to the location of our own tic.

Also, install tic alongside the other build tools, not in a sub-dir
of the toolchain installation dir.

Signed-off-by: Willy Tarreau <w@1wt.eu>
[yann.morin.1998@anciens.enib.fr: install in builtools/bin, move TIC_PATH]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from bd17cca444ae09af0aae3e2390fa068147e2f4e3)

2011-11-17configure: do not use '@' in version string
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 17 Nov 2011 01:14:12 +0100] rev 2754
configure: do not use '@' in version string

Using an '@' in the version string breaks the gcc/glibc/gdb manuals.
Use a scheme similar to Debian, with a plus '+' instead of the '@',
as suggested by Michael Hope.

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

2011-11-16docs: --target versus --host
Trevor Woerner <twoerner@gmail.com> [Wed, 16 Nov 2011 16:06:42 -0500] rev 2753
docs: --target versus --host

In the very beginnings, eons ago, autotools also got confused by this
whole build vs. host vs. target, and got it wrong. Now they fixed it,
but they want to keep backward compatibility, so the --target is still
recongised, although ./configure will complain if you do so. It is
better to use --host.

Signed-off-by: "Trevor Woerner" <twoerner@gmail.com>
[yann.morin.1998@anciens.enib.fr: add build/host clarification]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-15libc/glibc: add 2.14.1
Willy Tarreau <w@1wt.eu> [Tue, 15 Nov 2011 19:11:57 +0100] rev 2752
libc/glibc: add 2.14.1

Signed-off-by: Willy Tarreau <w@1wt.eu>

2011-11-15debug/gdb: fix tic install path, tell ncurses where to find it
Willy Tarreau <w@1wt.eu> [Tue, 15 Nov 2011 19:11:57 +0100] rev 2751
debug/gdb: fix tic install path, tell ncurses where to find it

ncurses 5.9 wants tic to be either one of:
- $TIC_PATH
- /usr/bin/tic

Of course, se do not want the latter, for it can be incompatible if the
ncurses in the build system is too old (eg. RHEL 5.6, Debian Lenny...).
So, force TIC_PATH to the location of our own tic.

Also, install tic alongside the other build tools, not in a sub-dir
of the toolchain installation dir.

Signed-off-by: Willy Tarreau <w@1wt.eu>
[yann.morin.1998@anciens.enib.fr: install in builtools/bin, move TIC_PATH]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-14cc/gcc: update Linaro GCC revisions to 2011.11
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Mon, 14 Nov 2011 13:29:12 +0100] rev 2750
cc/gcc: update Linaro GCC revisions to 2011.11

Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>

2011-11-14configure: fix version string breakage
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 14 Nov 2011 18:12:55 +0100] rev 2749
configure: fix version string breakage

As we use the directory names as Makefile targets, they can not contain any
column ':', or else make will complain about 'multiple target patterns'.

Replace the offending ':' with a dash '-', as Titus suggested.

Reported-by: Erdem Budak <erdembudak@hotmail.com>
Reported-by: Titus von Boxberg <titus@v9g.de>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-131.13: update version to 1.13.1+hg 1.13
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Nov 2011 21:29:38 +0100] rev 2748
1.13: update version to 1.13.1+hg

2011-11-13Tagging release 1.13.1 1.13
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Nov 2011 21:29:38 +0100] rev 2747
Tagging release 1.13.1

2011-11-131.13: update version to 1.13.1 1.13 crosstool-ng-1.13.1
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Nov 2011 21:29:38 +0100] rev 2746
1.13: update version to 1.13.1

2011-11-13configure: compute a simpler version string
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Nov 2011 18:24:36 +0100] rev 2745
configure: compute a simpler version string

Compute a simpler, yet still completely descriptive, version string.

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

2011-11-13configure: add support for helper script to compute version string
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Nov 2011 17:48:17 +0100] rev 2744
configure: add support for helper script to compute version string

Some projects are using (or planning to use) crosstool-NG, and are storing
it in their VCS, which might not be Mercurial. At the same time, those
projects may want to track development snapshots versions the way we do
with the Hg identity string (hg id).

Provide a way for these project to do so, without having to patch
./configure, and maintain that patch over-and-over again.

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

2011-11-13docs: remove dedication file
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Nov 2011 17:39:55 +0100] rev 2743
docs: remove dedication file

This does in no way mean that Cédric will be forgotten.
RIP, Cédric...

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

2011-11-13kernel/linux: missed porting the 3.0.8 patchset to 3.0.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Nov 2011 15:46:33 +0100] rev 2742
kernel/linux: missed porting the 3.0.8 patchset to 3.0.9

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

2011-11-13kernel/linux: update to latest versions
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 13 Nov 2011 12:38:58 +0100] rev 2741
kernel/linux: update to latest versions

Add latest versions.
Remove versions that disapeared during the kernel.org debacle.

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

2011-10-19arch/arm: ARM supports the softfp convention
Michael Hope <michael.hope@linaro.org> [Wed, 19 Oct 2011 15:27:32 +1300] rev 2740
arch/arm: ARM supports the softfp convention

ARM compilers can be built for soft float (software only, floats in
core registers), hard float (uses floating point instructions, floats
in FPU registers), or the half-way house softfp (uses floating point
instructions, floats in core registers).

Signed-off-by: Michael Hope <michael.hope@linaro.org>
[yann.morin.1998@anciens.enib.fr: split the original patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-10-19arch: add softfp support
Michael Hope <michael.hope@linaro.org> [Wed, 19 Oct 2011 15:27:32 +1300] rev 2739
arch: add softfp support

Some architectures support a mixed hard/soft floating point, where
the compiler emits hardware floating point instructions, but passes
the operands in core (aka integer) registers.

For example, ARM supports this mode (to come in the next changeset).

Add support for softfp cross compilers to the GCC and GLIBC
configuration. Needed for Ubuntu and other distros that are softfp.

Signed-off-by: Michael Hope <michael.hope@linaro.org>
[yann.morin.1998@anciens.enib.fr: split the original patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-10-19scripts: use the hardfloat option to set configure and CFLAGS
Michael Hope <michael.hope@linaro.org> [Wed, 19 Oct 2011 15:27:32 +1300] rev 2738
scripts: use the hardfloat option to set configure and CFLAGS

When hardfloat is selected, we need to pass that selection down to
./configure and in the CFLAGS.

Signed-off-by: Michael Hope <michael.hope@linaro.org>
[yann.morin.1998@anciens.enib.fr: split the original patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-10-19scripts: introduce float type as a string
Michael Hope <michael.hope@linaro.org> [Wed, 19 Oct 2011 15:27:32 +1300] rev 2737
scripts: introduce float type as a string

With the upcoming softfp support, the case..esac test would become
a bit convoluted if it were to test three different booleans.

Introduce a new blind string config option that defaults to the
selected floating point type used.

Signed-off-by: Michael Hope <michael.hope@linaro.org>
[yann.morin.1998@anciens.enib.fr: split the original patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-11-04kernel/linux: fix packed attribute in exported headers 1.13
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 04 Nov 2011 19:22:29 +0100] rev 2736
kernel/linux: fix packed attribute in exported headers

UBI headers (and maybe others as well) are broken because the 'packed'
attribute is not sanitised when the headers are exported to userspace.

Apply the fix from upstream:
https://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=f210735fe2f17a6225432ee3d1239bcf23a8659c

(Also, buildroot does the same, BTW)

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

2011-11-04kernel/linux: fix packed attribute in exported headers
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 04 Nov 2011 19:22:29 +0100] rev 2735
kernel/linux: fix packed attribute in exported headers

UBI headers (and maybe others as well) are broken because the 'packed'
attribute is not sanitised when the headers are exported to userspace.

Apply the fix from upstream:
https://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=f210735fe2f17a6225432ee3d1239bcf23a8659c

(Also, buildroot does the same, BTW)

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

2011-11-02kernel/linux: update revisions
"Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com> [Wed, 02 Nov 2011 13:35:06 +0100] rev 2734
kernel/linux: update revisions

Update Linux with the latest available revisions.

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>

2011-10-26debug/strace: Add strace-4.6
Bryan Hundven <bryanhundven@gmail.com> [Wed, 26 Oct 2011 15:44:26 -0700] rev 2733
debug/strace: Add strace-4.6

Now that xz support is in crosstool-ng, Add strace-4.6.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>

2011-10-26cc/gcc: Add gcc-4.6.2
Bryan Hundven <bryanhundven@gmail.com> [Wed, 26 Oct 2011 14:25:13 -0700] rev 2732
cc/gcc: Add gcc-4.6.2

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>

2011-10-241.13: update version to 1.13.0+hg 1.13
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 24 Oct 2011 22:06:36 +0200] rev 2731
1.13: update version to 1.13.0+hg

2011-10-24Tagging release 1.13.0 1.13
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 24 Oct 2011 22:06:36 +0200] rev 2730
Tagging release 1.13.0

2011-10-241.13: create maintenance branch, update version to 1.13.0 1.13 crosstool-ng-1.13.0
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 24 Oct 2011 22:06:36 +0200] rev 2729
1.13: create maintenance branch, update version to 1.13.0

2011-10-241.12: close branch 1.12
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 24 Oct 2011 22:03:32 +0200] rev 2728
1.12: close branch

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

2011-10-21scripts: fix missing space when using CT_EXTRA_FLAGS_FOR_HOST
Michael Hope <michael.hope@linaro.org> [Fri, 21 Oct 2011 03:29:18 +0200] rev 2727
scripts: fix missing space when using CT_EXTRA_FLAGS_FOR_HOST

CT_EXTRA_FLAGS_FOR_HOST needs a preceding space to separate it from
any other options that have already been set.

Signed-off-by: Michael Hope <michael.hope@linaro.org>

2011-10-20samples: set vendor string in all samples
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 20 Oct 2011 23:12:16 +0200] rev 2726
samples: set vendor string in all samples

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

2011-10-18misc: change references to point to the new website
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 18 Oct 2011 20:17:41 +0200] rev 2725
misc: change references to point to the new website

It's been a while now that crosstool-NG has been hosted on it's own
website, and not at my home. Change every reference to the old site
to the new one, everywhere is makes sense to.

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

2011-10-16samples: update to latest set of options
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 16 Oct 2011 17:51:42 +0200] rev 2724
samples: update to latest set of options

Update all the samples, so that there is not config-prompt when
recalling samples. This is no upgrade, it's just about having
new options set (y or n) in the samples.

Also, get rid of the armeb-test_nptl-linux-uclibcgnueabi, it's no
longer needed, there's a non-test sample with uClibc NPTL, now.

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

2011-10-16arch/powerpc: fix tuple for uClibc
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 16 Oct 2011 17:52:33 +0200] rev 2723
arch/powerpc: fix tuple for uClibc

Changeset #7c288c777455 broke the tuple for uClibc-based
powerpc toolchains, by unconditionally forcing CT_TARGET_SYS
to "gnu".

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

2011-10-16scripts: do not force locale when sorting samples
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 16 Oct 2011 21:48:10 +0200] rev 2722
scripts: do not force locale when sorting samples

Just use whatever the user has set in his/her environment.

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

2011-10-07scripts/functions: Fix CT_ExtractGit function.
Esben Haabendal <esben.haabendal@prevas.dk> [Fri, 07 Oct 2011 15:06:44 +0200] rev 2721
scripts/functions: Fix CT_ExtractGit function.

Change CT_ExtractGit so that it clones the repository, instead of just
symlinking it. After cloning, any given ref is checked out, or if no
ref is given, the HEAD of the repository is checked out.

This makes CT_Extract behave similar for git repositories as it does
for tarballs, so that it for example can be used for passing glibc-ports
as a git repository.

Signed-off-by: "Esben Haabendal" <esben.haabendal@prevas.dk>
[yann.morin.1998@anciens.enib.fr: fix incomplete var rename]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-10-13debug/gdb: update Linaro GDB revisions to 2011.10
"Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com> [Thu, 13 Oct 2011 19:16:04 +0200] rev 2720
debug/gdb: update Linaro GDB revisions to 2011.10

Update Linaro GDB with the latest available revisions.

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>

2011-10-13cc/gcc: update Linaro GCC revisions to 2011.10
"Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com> [Thu, 13 Oct 2011 19:11:25 +0200] rev 2719
cc/gcc: update Linaro GCC revisions to 2011.10

Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>

2011-10-16configure: don't check for host system
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 16 Oct 2011 16:21:33 +0200] rev 2718
configure: don't check for host system

This is no longer used.

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

2011-10-14scripts: check host features with host compiler
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 14 Oct 2011 22:44:24 +0200] rev 2717
scripts: check host features with host compiler

Currently, we check host feature in ./configure. This works only for
cross toolchains, but not for canadian toolchains. ./configure has
absolutely no way to know what the host for the toolchain will be;
only the build scripts know.

So, move the headers & libraries checks from ./configure to the build
scripts, early enough in the build, but not before we know the host
compiler and other tools.

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

2011-10-16config: use '0' for automatic number of jobs
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 16 Oct 2011 13:26:26 +0200] rev 2716
config: use '0' for automatic number of jobs

Also, make it the default.

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

2011-09-28docs: add dedication file
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 28 Sep 2011 13:08:18 +0200] rev 2715
docs: add dedication file

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

2011-10-121.12: update version to 1.12.4+hg 1.12
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 12 Oct 2011 00:43:47 +0200] rev 2714
1.12: update version to 1.12.4+hg

2011-10-12Tagging release 1.12.4 1.12
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 12 Oct 2011 00:43:47 +0200] rev 2713
Tagging release 1.12.4

2011-10-121.12: update version to 1.12.4 1.12 crosstool-ng-1.12.4
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 12 Oct 2011 00:43:47 +0200] rev 2712
1.12: update version to 1.12.4

2011-10-11libc/glibc: run ./configure in CONFIG_SHELL 1.12
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 11 Oct 2011 22:21:48 +0200] rev 2711
libc/glibc: run ./configure in CONFIG_SHELL

Tremendously helps when running on at least Ubuntu, with dash as
the system shell (ie. /bin/sh points to dash).

Reported by a few people, of which:
leming, ccct and ccole on IRC

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 30c89d1f74a4fee73517b4ed67e843be6885447e)

2011-10-10complibs/cloog: catch autogen.sh's output 1.12
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 10 Oct 2011 00:00:58 +0200] rev 2710
complibs/cloog: catch autogen.sh's output

Run autogen.sh through CT_DoExecLog to catch its output.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from fcf5c43cf30f11366d4fe16ee19d6c2143985c62)

2011-10-09binutils/binutils: ensure gold is staticaly-linked if needed 1.12
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 09 Oct 2011 15:34:16 +0200] rev 2709
binutils/binutils: ensure gold is staticaly-linked if needed

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 293d8334b913a86c3e5d817dd84e5bc434888251)

2011-10-05Pass CXXFLAGS to binutils/gold. 1.12
Michael Hope <michael.hope@linaro.org> [Wed, 05 Oct 2011 14:15:45 +1300] rev 2708
Pass CXXFLAGS to binutils/gold.

The GOLD linker is written in C++. Pass CT_CFLAGS_FOR_HOST as
CXXFLAGS to configure so that any host specific flags are passed
through.

It feels a bit funny passing CFLAGS as CXXFLAGS, but the PPL and GCC
target rules already do the same.

Signed-off-by: Michael Hope <michael.hope@linaro.org>
(transplanted from 9cd87d279a99bd32a364f12d4b2d6d37e1d9248b)

2011-10-09scripts: execute each steps in a subshell
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 09 Oct 2011 19:19:04 +0200] rev 2707
scripts: execute each steps in a subshell

To avoid variable leakage from one step to another, isolate the
steps from each others by running them in their own sub-shell.

This avoids variables leaking from one step to the others.

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

2011-10-11libc/glibc: run ./configure in CONFIG_SHELL
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 11 Oct 2011 22:21:48 +0200] rev 2706
libc/glibc: run ./configure in CONFIG_SHELL

Tremendously helps when running on at least Ubuntu, with dash as
the system shell (ie. /bin/sh points to dash).

Reported by a few people, of which:
leming, ccct and ccole on IRC

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

2011-10-11config: simplify setting CONFIG_SHELL, add a bit to the help entry
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 11 Oct 2011 21:43:42 +0200] rev 2705
config: simplify setting CONFIG_SHELL, add a bit to the help entry

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

2011-10-10complibs/cloog: catch autogen.sh's output
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 10 Oct 2011 00:00:58 +0200] rev 2704
complibs/cloog: catch autogen.sh's output

Run autogen.sh through CT_DoExecLog to catch its output.

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

2011-10-08debug/gdb: new option to enable/disable use of python
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 08 Oct 2011 22:57:21 +0200] rev 2703
debug/gdb: new option to enable/disable use of python

Add a new option to enable/disable the Python scripting in gdb.
Hide the option (ie. disable it) when statically linking the cross-gdb.

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

2011-10-09binutils/binutils: ensure gold is staticaly-linked if needed
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 09 Oct 2011 15:34:16 +0200] rev 2702
binutils/binutils: ensure gold is staticaly-linked if needed

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

2011-10-05scripts: support extra host compiler flags
Michael Hope <michael.hope@linaro.org> [Wed, 05 Oct 2011 14:19:51 +1300] rev 2701
scripts: support extra host compiler flags

Allow the user to configure extra flags to pass to the host compiler
at build time. Applies to both C and C++.

Useful on Ubuntu to turn off the stack protector and fortify defaults
so the program stands a better chance of running on other distros.

Signed-off-by: Michael Hope <michael.hope@linaro.org>
[yann.morin.1998@anciens.enib.fr: put the custom flags at the end]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>