2011-05-31gcc: promote PKGVERSION and BUGURL options to toolchain level
"Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com> [Tue, 31 May 2011 20:12:35 +0200] rev 2487
gcc: promote PKGVERSION and BUGURL options to toolchain level

This patch promotes the PKGVERSION and BUGURL options to toolchain level so that
all toolchain components supporting them can benefit from them.

These options are passed to configure through --with-pkgversion and
--with-bugurl.

They are supported by binutils 2.18+, gcc 4.3+, eglibc 2.9+ and gdb 7.0+.

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

2011-05-31gcc: add a CC_GCC_HAS_PKGVERSION_BUGURL option
"Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com> [Tue, 31 May 2011 19:55:59 +0200] rev 2486
gcc: add a CC_GCC_HAS_PKGVERSION_BUGURL option

This patch adds a blind option CC_GCC_HAS_PKGVERSION_BUGURL to test the support
of --with-pkgversion and --with-bugurl by GCC's configure.

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

2011-05-31scripts/addToolVersion.sh: add a function to extract fields from versions
"Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com> [Tue, 31 May 2011 17:20:52 +0200] rev 2485
scripts/addToolVersion.sh: add a function to extract fields from versions

This patch adds a function to extract major, minor, revision, etc. from version
numbers.

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

2011-05-31kconfig: remove useless 'default n'
"Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com> [Tue, 31 May 2011 16:27:39 +0200] rev 2484
kconfig: remove useless 'default n'

kconfig bools are disabled by default, so specifying 'default n' is useless and
noisy. This patch removes all occurrences of 'default n'.

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

2011-05-29libc/glibc: commonalise extraction btw glibc and eglibc
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 29 May 2011 19:24:41 +0200] rev 2483
libc/glibc: commonalise extraction btw glibc and eglibc

glibc and eglibc have a very similar extraction process, so it
makes sense to commonalise it.

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

2011-05-27libc/glibc: fix {e,}glibc add-ons with short or long names
"Nicolás Reynolds" <fauno@kiwwwi.com.ar> [Fri, 27 May 2011 22:02:30 -0300] rev 2482
libc/glibc: fix {e,}glibc add-ons with short or long names

Fixes the issue with {e,}glibc addons having short and long names (such as
eglibc-ports-2_13 and ports), which caused configure scripts to run
through them twice and thus configuring incorrectly.

For instance, the mips64el-n32-linux-gnu toolchain would be recognized
correctly first, but then the second pass would change it to mips32,
building a mixed MIPS-III N32 and MIPS-I libc.

Signed-off-by: Nicolás Reynolds <fauno@kiwwwi.com.ar>
[yann.morin.1992@anciens.enib.fr: remove spurious trailing spaces]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-05-26configure: add possibility to set arbitrary variable in check_for
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 26 May 2011 22:51:03 +0200] rev 2481
configure: add possibility to set arbitrary variable in check_for

If check_for is able to find the required prog/inc/lib, allow it to
set an arbitrary variable to 'y'. This variable is then pushed down
to the kconfig definition.

For example:
has_or_abort prog=foobar kconfig=has_foobar

If foobar is available, it yields a kconfig variable defaulting to y:
config CONFIGURE_has_foobar
bool
default y

If foobar is missing, it yields a kconfig variable defaulting to n:
config CONFIGURE_has_foobar
bool

Thus it is possible to depends on that variabel to show/hide options:
config SOME_FEATURE
bool
prompt "Some feature"
depends on CONFIGURE_has_foobar

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

2011-05-26configure: add has_or_warn
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 26 May 2011 18:33:53 +0200] rev 2480
configure: add has_or_warn

By popular request, add a function to only warn on missing stuff.

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

2011-05-26configure: move error message down to has_or_abort
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 26 May 2011 18:40:53 +0200] rev 2479
configure: move error message down to has_or_abort

When has_or_warn will come, we do want to print the error message
only in has_or_abort, so move it down there.

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

2011-05-25debug/gdb: bump Linaro revision to 2011.05-0
"Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com> [Wed, 25 May 2011 21:21:03 +0200] rev 2478
debug/gdb: bump Linaro revision to 2011.05-0

This patch bumps the Linaro GDB revision to 2011.05-0.

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