2011-12-12scripts: unset CONFIG_SITE 1.13
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 12 Dec 2011 21:41:16 +0200] rev 2845
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>
(transplanted from 21f4f28e60ec0342133086c9a51e7f0e5b181fb8)

2011-12-07scripts: create CT_HEADERS_DIR 1.13
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Wed, 07 Dec 2011 16:15:50 +0800] rev 2844
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>
(transplanted from bdff4164a1227ebdd538e0ad3c9b6862b3c5a253)

2011-11-30scripts: use CT_CONFIG_SHELL instead of CT_SHELL 1.13
Titus von Boxberg <titus@v9g.de> [Wed, 30 Nov 2011 12:07:59 +0100] rev 2843
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>
(transplanted from cf509170838f4e289fe25617e3f3db1d6d6ffc41)

2011-11-22scripts/functions: extract: portable call for old and defective tars 1.13
Titus von Boxberg <titus@v9g.de> [Tue, 22 Nov 2011 10:08:10 +0100] rev 2842
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>
(transplanted from 49af7802dcd538ec3cb64337030b03ac2c6344d2)

2011-11-18cc/gcc: Apply CT_CC_GCC_DISABLE_PCH to do_cc_core. 1.13
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Fri, 18 Nov 2011 11:32:50 +0800] rev 2841
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>
(transplanted from e3e1c9d45bddfbfb433ee9d583faf42fa31f50c0)

2012-01-16configure: fix kconfig option names
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 16 Jan 2012 23:45:16 +0100] rev 2840
configure: fix kconfig option names

In the process of converting to autoconf, the kconfig option
were not properly translated.

Fix that.

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

2012-01-17configure: also detect plain grep
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 17 Jan 2012 00:37:59 +0100] rev 2839
configure: also detect plain grep

We need just 'grep', and we need to be able to call it with 'grep -E'.
Check for 'grep', and bailout if egrep != grep -E

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

2012-01-16scripts: fix tools override
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 16 Jan 2012 23:36:42 +0100] rev 2838
scripts: fix tools override

The tools found by the new autostuff configure can contain arguments,
for example: grep -E

This needs separating the paths set for the Makfile from the paths
set for the scripts.

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

2012-01-13cc/gcc: update Linaro GCC revisions to 2012.01
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Fri, 13 Jan 2012 12:24:55 +0100] rev 2837
cc/gcc: update Linaro GCC revisions to 2012.01

Update Linaro GCC with the latest available revisions.

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

2012-01-15kconfig: add missing files
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 15 Jan 2012 01:04:26 +0100] rev 2836
kconfig: add missing files

The real sources for a few files are the lex/yacc/gperf
files, and the C files are only generated...

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