2011-06-13samples: add mips-malta-linux-gnu toolchain config
Antony Pavlov <antonynpavlov@gmail.com> [Mon, 13 Jun 2011 22:54:29 +0400] rev 2511
samples: add mips-malta-linux-gnu toolchain config

2011-06-16cc/gcc: bump Linaro GCC revisions to 2011.06-0
"Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com> [Thu, 16 Jun 2011 21:10:12 +0200] rev 2510
cc/gcc: bump Linaro GCC revisions to 2011.06-0

This patch bumps the Linaro GCC revisions to 2011.06-0 when applicable.

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

2011-06-08configure: check for ncurses libs + headers in one go
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 08 Jun 2011 19:32:20 +0200] rev 2509
configure: check for ncurses libs + headers in one go

./configure now has the possibility to check for libraries and headers
in one go, so we can use it! :-)

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

2011-06-08debug/cross-gdb: check host dependencies
"Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com> [Wed, 08 Jun 2011 15:47:43 +0200] rev 2508
debug/cross-gdb: check host dependencies

Cross-gdb depends on expat and python. If either is missing, cross-gdb will
build successfully, but lacking some features.

Especially, if expat is missing, cross-gdb will be unable to parse the target
description, which may lead to runtime malfunctions and the following GDB
warning:
"Can not parse XML target description; XML support was disabled at compile time"

Hence, expat should be considered mandatory.

On the other hand, the features missing without python are not critical, so
python should not be considered mandatory.

This patch does the following:
- At configure time, warn the user if either expat or python is missing.
- In menuconfig, disable the static build options regarding cross-gdb if no
static version of expat is available, and disable cross-gdb if expat is
missing.

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
[yann.morin.1998@anciens.enib.fr: add comment for impossible static cross-gdb]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-06-08configure: give check_for() the ability to test several item types at once
"Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com> [Wed, 08 Jun 2011 15:47:03 +0200] rev 2507
configure: give check_for() the ability to test several item types at once

Currently, check_for() can only test one of prog, inc or lib at once. This patch
removes this limitation.

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

2011-06-04configure: rationalise error messages with meaningful texts
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 04 Jun 2011 19:17:26 +0200] rev 2506
configure: rationalise error messages with meaningful texts

Currently, error messages just state the obvious: a required
component is required. While in some cases, there is not much
else to say, in some other cases we could tell much more.

For example, a missing libstdc++ means no static toolchain.

Also, format error and warning messages in a similar fashion,
with a {error,warning} intro, followed by the message specified
by the caller.

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

2011-06-04Makefile: make it work for auto-completion
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 04 Jun 2011 17:43:49 +0200] rev 2505
Makefile: make it work for auto-completion

The latest autocompletion calls 'make -qp' to get all the possible
targets. This currently fails, as our makefile is calling itself
again and again ad-libitum.

Fix it by detecting that the recursion level is not 0, and bail out
if so. It works so well that it has the side effect of showing only
the 'public' target, and hide our internal ones! :-)

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

2011-06-04libc/glibc: do not try to download NPTL add-on
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 04 Jun 2011 17:15:58 +0200] rev 2504
libc/glibc: do not try to download NPTL add-on

The NPTL add-on has always been internal, so there is no
reason to try downloading it, it will never succeed.
Add provision to skip other add-ons as well.

For consistency, do the same test in both glibc and eglibc.

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

2011-06-03kconfig: prepend CT-NG's version tag to PKGVERSION
"Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com> [Fri, 03 Jun 2011 17:21:56 +0200] rev 2503
kconfig: prepend CT-NG's version tag to PKGVERSION

"crosstool-NG-${CT_VERSION}" is currently the default for TOOLCHAIN_PKGVERSION,
and this options is passed as is to --with-pkgversion.

This patch prepends "crosstool-NG ${CT_VERSION}" to TOOLCHAIN_PKGVERSION before
passing it to --with-pkgversion.

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

2011-06-02functions: save & restore the static companion libraries install dir
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 02 Jun 2011 22:30:55 +0200] rev 2502
functions: save & restore the static companion libraries install dir

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