2012-11-20scripts: fail on ':' in paths
Daniel Price <daniel.price@gmail.com> [Tue, 20 Nov 2012 16:59:17 -0800] rev 3125
scripts: fail on ':' in paths

Signed-off-by: Daniel Price <daniel.price@gmail.com>
[yann.morin.1998@free.fr: split original patch for self-contained changes]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <163f86b5216fc08c672a.1353459722@nipigon.dssd.com>
Patchwork-Id: 200536

2012-11-19scripts: fix mis-alignment due to new variables
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 19 Nov 2012 22:13:11 +0100] rev 3124
scripts: fix mis-alignment due to new variables

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

2012-11-19binutils: introduce the infrastructure to support binutils alternatives
Yann Diorcet <diorcet.yann@gmail.com> [Mon, 19 Nov 2012 11:21:31 +0100] rev 3123
binutils: introduce the infrastructure to support binutils alternatives

Rework binutils in order to provide soon binutils alternative.

Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com>
[yann.morin.1998@free.fr: split up original patch for self-contained changes]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <d3d1d51f399e6d2c1163.1353320546@macbook-smorlat.local>
Patchwork-Id: 199971

2012-11-19binutils/elf2flt: remove use of CVS snapshots
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 19 Nov 2012 23:24:49 +0100] rev 3122
binutils/elf2flt: remove use of CVS snapshots

The CVS snapshot options are never used, so get rid of them.

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

2012-11-19binutils/binutils: simplify gold dependencies
Yann Diorcet <diorcet.yann@gmail.com> [Mon, 19 Nov 2012 21:45:09 +0100] rev 3121
binutils/binutils: simplify gold dependencies

In preparation of adding a new kernel-type, Yann D. came up
with a change in semantic on binutils/gold availability.

So far, it was architectures' responsibility to declare that
they did support binutils/gold or not. It makes much more sense
that binutils/gold declares its own availability depending on
the current architecture; after all, architectures have no way
to know wether gold supports them, while gold does know it.

Signed-off-by:Yann Diorcet <diorcet.yann@gmail.com>
[yann.morin.1998@free.fr: split up original patch for self-contained changes]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <d3d1d51f399e6d2c1163.1353320546@macbook-smorlat.local>
Patchwork-Id: 199971

2012-11-19binutils: cleanup ELF/FLAT/FDPIC dependencies
Yann Diorcet <diorcet.yann@gmail.com> [Mon, 19 Nov 2012 21:39:58 +0100] rev 3120
binutils: cleanup ELF/FLAT/FDPIC dependencies

In preparation of adding a new kernel-type, Yann D. came up
with a cleanup pass on the ELF/FLAT/FDPIC dependencies.

Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com>
[yann.morin.1998@free.fr: split up original patch for self-contained changes]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <d3d1d51f399e6d2c1163.1353320546@macbook-smorlat.local>
Patchwork-Id: 199971

2012-11-16scripts: add BUILD/HOST extra cflags/ldflags
Yann Diorcet <diorcet.yann@gmail.com> [Fri, 16 Nov 2012 15:25:57 +0100] rev 3119
scripts: add BUILD/HOST extra cflags/ldflags

On some hosts, and for certain toolchains (eg. toolchain targetting
the upcoming Darwin), it may be necessary to pass arbitrary CFLAGS
and/or LDFLAGS when building the components.

And necessary infrastructure:
- EXTRA_{CFLAGS,LDFLAGS}_FOR_{BUILD,HOST} as config options
- pass those extra flags to components

Fix-up a slight typo in elf2flt at the same time (misnamed cflags).

Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com>
Message-Id: <d24043276c9243a35421.1353077450@macbook-smorlat.local>
Patchwork-Id: 199645

2012-11-19scripts: unquoted variable reference in glibc-eglibc.sh-common
Daniel Price <daniel.price@gmail.com> [Mon, 19 Nov 2012 15:20:13 -0800] rev 3118
scripts: unquoted variable reference in glibc-eglibc.sh-common

Signed-off-by: Daniel Price <daniel.price@gmail.com>
Message-Id: <12f092a95a94bcf76912.1353367250@redfish.dssd.com>
Patchwork-Id: 200215

2012-11-19binutils/sstrip: remove
Yann Diorcet <diorcet.yann@gmail.com> [Mon, 19 Nov 2012 11:19:54 +0100] rev 3117
binutils/sstrip: remove

sstrip has been obsoleted for a while now, as it's still broken
for some archs, and there seems to be no incentive to fix it
upstream. Besides, the space gained with sstrip is marginal at
best.

Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com>
Message-Id: <65c8bf534d0647ce52cd.1353320545@macbook-smorlat.local>
Patchwork-Id: 199970

2012-11-06binutils/binutils: do not fwd declare struct stat (2.22).
Titus von Boxberg <titus@v9g.de> [Tue, 06 Nov 2012 17:42:39 +0100] rev 3116
binutils/binutils: do not fwd declare struct stat (2.22).

For canadian cross to host i686-mingw32 fwd declaring
struct stat is not possible.
Instead #include <sys/stat.h>

Signed-off-by: Titus von Boxberg <titus@v9g.de>
Message-Id: <417a15d4277913841ddd.1353100974@tschetwerikow.boxberg.lan>
Patchwork-Id: 199733

2012-11-16complibs: introduce generic multi-complibs infrastructure
Yann Diorcet (diorcet.yann@gmail.com) [Fri, 16 Nov 2012 14:59:27 +0100] rev 3115
complibs: introduce generic multi-complibs infrastructure

Use the same method as companion tools for providing generic and
extendable companion libs.

Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com>
Message-Id: <515c5c4635d99ebe4877.1353074410@macbook-smorlat.local>
Patchwork-Id: 199613

2012-11-15kernel/linux: update revisions
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Thu, 15 Nov 2012 20:51:31 +0100] rev 3114
kernel/linux: update revisions

Update Linux with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <4b669b1e51901b6ec6b1.1353009148@advdt005-ubuntu>
Patchwork-Id: 199394

2012-11-15cc/gcc: update Linaro GCC revisions to 2012.11
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Thu, 15 Nov 2012 20:41:32 +0100] rev 3113
cc/gcc: update Linaro GCC revisions to 2012.11

Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <8e49233e63d9d6051dc2.1353008548@advdt005-ubuntu>
Patchwork-Id: 199390

2012-11-14libc/mingw: replace mingw32 with generic mingw
Yann Diorcet <diorcet.yann@gmail.com> [Wed, 14 Nov 2012 14:05:49 +0100] rev 3112
libc/mingw: replace mingw32 with generic mingw

Replace the 32-bit-only mingw32 with mingw-w64 that is capable
of building toolchains for both 32-bit and 64-bit Windows.

kernel/mingw: replace mingw32 with generic Windows
kernel/windows: New windows kernel supporting 32 and 64 bit arch
libc/mingw: Remove old options
patches: Remove old mingw libc options' patches

Signed-off-by: "Yann Diorcet" <diorcet.yann@gmail.com>
[yann.morin.1998@free.fr: array var in libc/mingw.sh, typos]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <b045ac08fc9eac2e5ee3.1352898499@blackmint>
Patchwork-Id: 198901

2012-11-13scripts: set default CFLAGS to optimise.
Michael Hope <michael.hope@linaro.org> [Tue, 13 Nov 2012 15:06:18 +0000] rev 3111
scripts: set default CFLAGS to optimise.

The extra CFLAGS override the product defaults, causing the product to
be built without optimisation or debug. Be explicit and add these in.

Reported-by: Johannes Stezenbach <js@sig21.net>
Signed-off-by: Michael Hope <michael.hope@linaro.org>
Message-Id: <CANLjY-=3Gbio6nzUPhhevDHV7cUN=6Vigooe9nSf-RnGCqnjog@mail.gmail.com>
Patchwork-Id: 198808

2012-11-111.17: update version to 1.17.0+hg 1.17
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 11 Nov 2012 21:43:54 +0100] rev 3110
1.17: update version to 1.17.0+hg

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

2012-11-11Tagging release 1.17.0 1.17
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 11 Nov 2012 21:43:54 +0100] rev 3109
Tagging release 1.17.0

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

2012-11-111.17: create maintenance branch, update version to 1.17.0 1.17 crosstool-ng-1.17.0
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 11 Nov 2012 21:43:54 +0100] rev 3108
1.17: create maintenance branch, update version to 1.17.0

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

2012-11-111.16: close branch 1.16
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 11 Nov 2012 21:42:47 +0100] rev 3107
1.16: close branch

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

2012-11-111.15: close branch 1.15
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 11 Nov 2012 21:42:34 +0100] rev 3106
1.15: close branch

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

2012-11-09samples: update samples for release
"Yann E. MORIN" <yann.morin.1998@free.fr> [Fri, 09 Nov 2012 18:22:31 +0100] rev 3105
samples: update samples for release

Refresh all samples against the new set of options, to be
sure they all build OK, before we can do the release.

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

2012-11-09cc/gcc: fix patches for 4.6.{0,1}
"Yann E. MORIN" <yann.morin.1998@free.fr> [Fri, 09 Nov 2012 19:42:32 +0100] rev 3104
cc/gcc: fix patches for 4.6.{0,1}

Remove the sparc part, as it touches code that does not exist in
those versions of gcc (it was added at 4.6.2).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
CC: Florian Fainelli <f.fainelli@gmail.com>

2012-11-06Makefile.in: Use only standard options compatible with BSD install
Titus von Boxberg <titus@v9g.de> [Tue, 06 Nov 2012 17:02:06 +0100] rev 3103
Makefile.in: Use only standard options compatible with BSD install

Don't use options specific to FSF's coreutils install.

Signed-off-by: Titus von Boxberg <titus@v9g.de>
Message-Id: <51587db99510a9ec08f8.1352226968@tschetwerikow.boxberg.lan>
Patchwork-Id: 197532

2012-11-02libc/eglibc: enable rpc in eglibc-2.16+
Johannes Stezenbach <js@sig21.net> [Fri, 02 Nov 2012 04:04:04 +0000] rev 3102
libc/eglibc: enable rpc in eglibc-2.16+

While eglibc-2.16 recommends to use TI-RPC instead of the old sunrpc, the
old one can be included using a configure option. Since the user can still
use TI-RPC to override the libc implementation, we enable rpc unconditionally.

Signed-off-by: Johannes Stezenbach <js@sig21.net>
Message-Id: <20121102140404.GA7707@sig21.net>
Patchwork-Id: 196564

2012-11-07scripts/xldd: fix debug output layout
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 07 Nov 2012 21:55:42 +0100] rev 3101
scripts/xldd: fix debug output layout

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

2012-10-31libc/uClibc: remove use of snapshots and specific date
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 31 Oct 2012 23:31:32 +0100] rev 3100
libc/uClibc: remove use of snapshots and specific date

We now have the ability to use a custom location, so supporting
snapshots or custom date is no longer needed. Let the user do the
required preparation in this case.

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

2012-10-11libc/uClibc: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom
David Holsgrove <david.holsgrove@xilinx.com> [Thu, 11 Oct 2012 14:39:44 +1000] rev 3099
libc/uClibc: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom

CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: fix indentation, don't patch custom dir location]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <712995e3e719fbbe24af.1349931201@localhost.localdomain>
PatchWork-Id: 190794

2012-10-31kernel/linux: add latest versions
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 31 Oct 2012 23:25:33 +0100] rev 3098
kernel/linux: add latest versions

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

2012-10-30scripts/functions: fix endless loop in debug-shell with IO redirection
Johannes Stezenbach <js@sig21.net> [Tue, 30 Oct 2012 00:22:25 +0000] rev 3097
scripts/functions: fix endless loop in debug-shell with IO redirection

CT_DEBUG_INTERACTIVE is disabled when stdin, stdout or
stderr are redirected, but the check is only done at
the start of the build and doesn't catch when individual
build commands use redirection. When stdin is redirected
it will cause the debug shell to exit immediately, causing
and endless loop. Thus, save the stdin/our/err file handles
and restore them before invoking the debug shell.

Signed-off-by: Johannes Stezenbach <js@sig21.net>
Message-Id: <20121030102225.GA8303@sig21.net>
Patchwork-Id: 195409

2012-10-30scripts/functions: use patch -i instead of IO redirection
Johannes Stezenbach <js@sig21.net> [Tue, 30 Oct 2012 00:36:20 +0000] rev 3096
scripts/functions: use patch -i instead of IO redirection

This makes the patch name show up on the command line
logged by CT_DoExecLog so it's easier to see
what is going on. The -i for patch is specified
by Posix and supported by GNU patch and busybox patch.

Signed-off-by: Johannes Stezenbach <js@sig21.net>
[yann.morin.1998@free.fr: remove now-useless debug message]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <20121030103620.GB8303@sig21.net>
Patchwork-Id: 195418

2012-10-30libc/newlib: remove getting from CVS
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 30 Oct 2012 22:40:48 +0100] rev 3095
libc/newlib: remove getting from CVS

We now have the ability to use a custom local directory/tarball, so
it no longer makes sense to have the ability to use the CVS repository.

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

2012-10-11libc/newlib: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom
David Holsgrove <david.holsgrove@xilinx.com> [Thu, 11 Oct 2012 14:39:45 +1000] rev 3094
libc/newlib: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom

CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: fix indentation]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <d02252752d4dc5e68ae3.1349931202@localhost.localdomain>
PatchWork-Id: 190795

2012-10-30cc/gcc: remove svn source
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 30 Oct 2012 00:30:47 +0100] rev 3093
cc/gcc: remove svn source

Since we now have the opportunity to use a custom local directory/tarball
as the source for gcc, it no longer makes sense to retrieve gcc ourselves
from its subversion repository.

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

2012-10-30debug/gdb: remove ncurses cleanup
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 30 Oct 2012 00:23:51 +0100] rev 3092
debug/gdb: remove ncurses cleanup

That's legacy code that was usefull when ncurses was installed
in the sysroot. Still it's not longer the case (it's installed
in a special dedicated directory), we can remove that piece of
code.

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

2012-10-11debug/gdb: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom
David Holsgrove <david.holsgrove@xilinx.com> [Thu, 11 Oct 2012 14:39:42 +1000] rev 3091
debug/gdb: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom

CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: don't patch custom dir location]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <9ea1b5021fc77582867f.1349931197@localhost.localdomain>
PatchWork-Id: 190791

2012-10-11binutils/elf2flt: Add CUSTOM version, CUSTOM_LOCATION config options, GetCustom
David Holsgrove <david.holsgrove@xilinx.com> [Thu, 11 Oct 2012 14:39:42 +1000] rev 3090
binutils/elf2flt: Add CUSTOM version, CUSTOM_LOCATION config options, GetCustom

CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Change elf2flt CT_ELF2FLT_VERSION from 'head' to 'cvs' if cvs selected in config

Also remove hardcoded 'cvs-' from elf2flt component name, used in CT_Extract,
CT_Patch and as the CT_SRC_DIR location for the configure stage.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: fix indentation, don't patch custom dir location]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <288db3721a37844defa5.1349931196@localhost.localdomain>
PatchWork-Id: 190789

2012-10-11binutils/binutils: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom
David Holsgrove <david.holsgrove@xilinx.com> [Thu, 11 Oct 2012 14:39:41 +1000] rev 3089
binutils/binutils: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom

CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: fix indentation, don't patch custom dir location]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <7a604b5df9c84a1e20c3.1349931195@localhost.localdomain>
PatchWork-Id: 190788

2012-10-11cc/gcc: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom
David Holsgrove <david.holsgrove@xilinx.com> [Thu, 11 Oct 2012 14:39:41 +1000] rev 3088
cc/gcc: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom

CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: don't patch custom directory location]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <f2272ac0f37cedd0bb91.1349931194@localhost.localdomain>
PatchWork-Id: 190787

2012-10-22fix eglibc-2.16 manual build
Johannes Stezenbach <js@sig21.net> [Mon, 22 Oct 2012 03:32:28 +0000] rev 3087
fix eglibc-2.16 manual build

Signed-off-by: Johannes Stezenbach <js@sig21.net>
Message-Id: <20121022133228.GA16536@sig21.net>
Patchwork-Id: 193156

2012-10-22kernel/linux: add altest versions
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 22 Oct 2012 22:40:01 +0200] rev 3086
kernel/linux: add altest versions

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

2012-10-21scripts/functions: return a proper error code in CT_DoExecLog
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 21 Oct 2012 22:27:17 +0200] rev 3085
scripts/functions: return a proper error code in CT_DoExecLog

Since we added the debug-shell feature, CT_DoExecLog no longer
returns the error code of the command, but always return 0.

This breaks the download mechanism, which relies on CT_DoExecLog
to fail _on_purpose_ to detect that the ressource was not found
at the specified URL.

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

2012-10-17scripts/functions: properly catch failure in CT_Test* helpers
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 17 Oct 2012 22:01:25 +0200] rev 3084
scripts/functions: properly catch failure in CT_Test* helpers

So we get caught by the trap-handler and
have a chance to run the debug-shell.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Johannes Stezenbach <js@sig21.net>

2012-10-06scripts: add option to start an interactive debug shell
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sat, 06 Oct 2012 23:48:07 +0200] rev 3083
scripts: add option to start an interactive debug shell

Add an option that, when a command fails:
- starts an interactive shell with the failed command's environment
- attempts re-execution of the failed command, continues, or aborts
at user's whim.

Before starting the debug-shell, the backtrace is printed.
When exiting for an abort, the standard error message is printed.

Based on an idea and a patch from: Johannes Stezenbach <js@sig21.net>
http://sourceware.org/ml/crossgcc/2012-09/msg00144.html

Signed-off-by: Johannes Stezenbach <js@sig21.net>
[yann.morin.1998@free.fr: integrate in the fault handler]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Johannes Stezenbach <js@sig21.net>
Patchwork-Id: 191571
Patchwork-Id: 191668

2012-10-14scripts: move backtrace marker to CT_WORK_DIR
Johannes Stezenbach <js@sig21.net> [Sun, 14 Oct 2012 23:46:15 +0000] rev 3082
scripts: move backtrace marker to CT_WORK_DIR

Avoid error when commands in scripts/crosstool-NG.sh fail
before CT_BUILD_DIR is set.

So we need to remove the backtrace marker of a potential previous
build. Previously, it was implicitly removed because we did remove
the directory it was in, which is no longer the case.

Signed-off-by: Johannes Stezenbach <js@sig21.net>
[yann.morin.1998@free.fr: remove backtrace marker on start of build]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <20121015094615.GA18673@sig21.net>
Patchwork-Id: 191498

2012-10-17scripts: fix default work-dir name
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 17 Oct 2012 21:52:59 +0200] rev 3081
scripts: fix default work-dir name

It's been a long time the default work-dir changed its name
from 'target' to '.build'.

Change the left-over.

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

2012-10-17kernel/linux: fix missing 'then'
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 17 Oct 2012 21:21:44 +0200] rev 3080
kernel/linux: fix missing 'then'

Reported-by: David Holsgrove <david.holsgrove@xilinx.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2012-10-16kernel/linux: fix using custom location
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 16 Oct 2012 20:57:44 +0200] rev 3079
kernel/linux: fix using custom location

Currently, extract and patch are skipped as thus:
- using a custom directory of pre-installed headers
- a correctly named directory already exists

Otherwise, extract and patch are done.

The current second condition is wrong, because it allows the following
sequence to happen:
- a non-custom kernel is used
- a previous build only partially extracted the non-custom sources
- that p[revious build broke during extraction (eg. incomplete tarball...)
- a subsequent build will find a properly named directory, and will
thus skip extract and patch, which is wrong

Fix that by following the conditions in this table:

Type | Extract | Patch
----------------------+---------+-------
Pre-installed headers | N | N
custom directory | N | N
custom tarball | Y | N
mainstream tarball | Y | Y

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: David Holsgrove <david.holsgrove@xilinx.com>

2012-10-15scripts: update config.sub
David Holsgrove <david.holsgrove@xilinx.com> [Mon, 15 Oct 2012 16:59:11 +1000] rev 3078
scripts: update config.sub

Latest from upstream config-patches repo. (No change to config.guess)

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
Message-Id: <f15b7c69c142e935391e.1350284600@localhost.localdomain>
Patchwork-Id: 191476

2012-09-26libc/uClibc: add workaround patch for ICE in m68k builds
Esben Haabendal <esben.haabendal@prevas.dk> [Wed, 26 Sep 2012 16:41:02 +0200] rev 3077
libc/uClibc: add workaround patch for ICE in m68k builds

This patch/workaround is similar to the one proposed in
http://www.mail-archive.com/uclibc@uclibc.org/msg02475.html

Bug reproduced with GCC 4.6.3.

[ALL ] In file included from libc/inet/inet_ntoa.c:8:0:
[ALL ] libc/inet/addr.c: In function 'inet_ntoa_r':
[ALL ] libc/inet/addr.c:135:1: warning: visibility attribute not supported in this configuration; ignored [-Wattri
butes]
[ERROR] libc/inet/addr.c:135:1: internal compiler error: in output_move_qimode, at config/m68k/m68k.c:3160

Signed-off-by: "Esben Haabendal" <esben@haabendal.dk>
Message-Id: <87sja4d1ke.fsf@arh128.prevas.dk>
Patchwork-Id: 187181

2012-10-11kernel/linux: use generic custom infrastructure
David Holsgrove <david.holsgrove@xilinx.com> [Thu, 11 Oct 2012 14:39:40 +1000] rev 3076
kernel/linux: use generic custom infrastructure

Config options remain the same as before, just generalised to be used by other
components also.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: fix indentation, fix comment]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <50674fe47431174aab80.1349931193@localhost.localdomain>
PatchWork-Id: 190786

2012-10-04scripts/functions: add a generic custom location infrastructure
David Holsgrove <david.holsgrove@xilinx.com> [Thu, 04 Oct 2012 13:26:14 +1000] rev 3075
scripts/functions: add a generic custom location infrastructure

Add a generic custom location infrastructure (inspired by the one in
kernel/linux) to allow the user to use custom tarballs or directories
for any component.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: move config option, improve help text, fix API doc]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <131c163c69f9cc81d2be.1349931191@localhost.localdomain>
PatchWork-Id: 190784
Message-Id: <0bbaba9190a76ba97f72.1349931192@localhost.localdomain>
PatchWork-Id: 190785

2012-10-13cc/gcc: do not print multilib for canadian-cross
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sat, 13 Oct 2012 18:26:26 +0200] rev 3074
cc/gcc: do not print multilib for canadian-cross

Previous import from patchwork missed one hunk (in cset #d8feb93b3e49)
Apply it now.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Patchwork-Id: 189053

2012-10-04scripts/gcc: Canadian Cross skip -print-multi-lib log output
David Holsgrove <david.holsgrove@xilinx.com> [Thu, 04 Oct 2012 15:59:31 +1000] rev 3073
scripts/gcc: Canadian Cross skip -print-multi-lib log output

Attempting to ${CT_TARGET}-gcc -print-multi-lib will fail

In do_cc_core_backend, for the final compiler in a canadian cross
baremetal, warn that multi-libs cannot be determined

In do_cc_backend, for either final compiler for a canadian cross,
warn that multi-libs cannot be determined

(Plus fixed CT_PREFIX_DIR in do_cc_backend to be ${prefix})

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
Message-Id: <CAM=EW8aQDoNx-CkJHjXBoDP4iTDJ8z5hh3=KhO5UTU6rp3Pj=w@mail.gmail.com>
Patchwork-Id: 189053

2012-09-29debug/gdb: disable nls when CT_TOOLCHAIN_ENABLE_NLS is not selected
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Sat, 29 Sep 2012 14:34:15 +0800] rev 3072
debug/gdb: disable nls when CT_TOOLCHAIN_ENABLE_NLS is not selected

Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
Message-Id: <CACgzC7Bn+WpbgDruNeZ4s1z0x1deF6n4YyS22Dy7p_d1fFDVCA@mail.gmail.com>
PatchWork-Id: 191042

2012-10-03scripts/gdb: If not building expat for gdb, disable
David Holsgrove <david.holsgrove@xilinx.com> [Wed, 03 Oct 2012 15:59:22 +1000] rev 3071
scripts/gdb: If not building expat for gdb, disable

--with-expat=yes is unconditionally passed to the gdb configure
stage, instead of respecting the ${do_expat} decision.

Disable if not needed. Prevents error building canadian cross;

configure: error: expat is missing or unusable

Where configure stage fails to find expat on the host compiler.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Message-Id: <4c4410a2a8aab24a29c5.1349244128@localhost.localdomain>
PatchWork-Id: 188711

2012-10-11libc/glibc: Remove redundant LIBC_GLIBC_TARBALL config option
David Holsgrove <david.holsgrove@xilinx.com> [Thu, 11 Oct 2012 14:37:45 +1000] rev 3070
libc/glibc: Remove redundant LIBC_GLIBC_TARBALL config option

Unused since January 2010.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
Message-Id: <7a666ba8c0ea5e8f4b18.1349931190@localhost.localdomain>
PatchWork-Id: 190783

2012-10-11kernel/linux: update revisions
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Thu, 11 Oct 2012 16:11:35 +0200] rev 3069
kernel/linux: update revisions

kernel/linux: update revisions

Update Linux with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <efc60d787e571c37eef1.1349964870@advdt005-ubuntu>
PatchWork-Id: 190917

2012-10-11cc/gcc: update Linaro GCC revisions to 2012.10
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Thu, 11 Oct 2012 15:55:15 +0200] rev 3068
cc/gcc: update Linaro GCC revisions to 2012.10

cc/gcc: update Linaro GCC revisions to 2012.10

Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <b482331ff863a5fc3507.1349963865@advdt005-ubuntu>
PatchWork-Id: 190914

2012-10-07configure: remove trailing cruft
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 07 Oct 2012 23:15:57 +0200] rev 3067
configure: remove trailing cruft

Remove trailing cruft left after the migration to autoconf.

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

2012-09-26samples: add new m68k-unknown-uclinux-uclibc sample
Esben Haabendal <esben.haabendal@prevas.dk> [Wed, 26 Sep 2012 16:37:31 +0200] rev 3066
samples: add new m68k-unknown-uclinux-uclibc sample

Signed-off-by: "Esben Haabendal" <esben@haabendal.dk>
[yann.morin.1998@free.fr: upgrade to using gcc-4.7.2]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <87r4pod1hm.fsf@arh128.prevas.dk>
PatchWork-Id: 187182

2012-09-26kernel/linux: change m68k/no-mmu linux arch tuple to use -uclinux
Esben Haabendal <esben.haabendal@prevas.dk> [Wed, 26 Sep 2012 09:09:23 +0200] rev 3065
kernel/linux: change m68k/no-mmu linux arch tuple to use -uclinux

GCC requires m68k arch tuples to be *-*-uclinux-* to support Linux on
no-mmu m68k (ColdFire) cpus.

Blackfin arch tuple must be *-*-linux-uclibc for FD_PIC_ELF toolchains,
so we cannot just switch to uclinux for no-mmu Linux toolchains.

Signed-off-by: "Esben Haabendal" <esben@haabendal.dk>
Message-Id: <876271s1ee.fsf@arh128.prevas.dk>
PatchWork-Id: 186976

2012-09-25scripts: update config.{guess,sub}
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 25 Sep 2012 23:23:53 +0200] rev 3064
scripts: update config.{guess,sub}

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

2012-09-26scripts: exporting (even empty) LIBRARY_PATH and/or LPATH breaks gcc
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 26 Sep 2012 00:53:29 +0200] rev 3063
scripts: exporting (even empty) LIBRARY_PATH and/or LPATH breaks gcc

If either LIBRARY_PATH or LPATH is set, even to the empty string,
the gcc build breaks.

Fix that by bailing-out rather than re-setting.

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

2012-09-20scripts: Use ${CT_TARGET}-strip to strip gdbserver
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Thu, 20 Sep 2012 11:20:16 +0800] rev 3062
scripts: Use ${CT_TARGET}-strip to strip gdbserver

Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
[yann.morin.1998@free.fr: quote variables]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <CACgzC7BU9CPZ2cE+EYqnMe2WNz-wYby6f4tsmjJi715WmPmbWw@mail.gmail.com>
PatchWork-Id: 185303

2012-05-13scripts: unset LIBRARY_PATH and LPATH
Erik Inge Bolsø <knan-ct@anduin.net> [Sun, 13 May 2012 01:09:20 +0200] rev 3061
scripts: unset LIBRARY_PATH and LPATH

These environment variables set search path for gcc at link time, which can break the build.

Signed-off-by: Erik Inge Bolsø <knan-ct@anduin.net>
Message-Id: <alpine.BSF.2.00.1205130131550.21551@anduin.net>
PatchWork-Id: 186872

2012-09-23kernel/linux: symlink custom kernel source dir with '-f'
Jang, Bongseo <graycells@gmail.com> [Sun, 23 Sep 2012 11:59:28 +0900] rev 3060
kernel/linux: symlink custom kernel source dir with '-f'

build fails to symlink to custom kernel dir when the build is not the first time
because of 'ln -s' without '-f' option.

Signed-off-by: "Jang, Bongseo" <graycells@gmail.com>
Message-ID: <543e2981f2b723ecd850.1348370892@localhost.localdomain>
PatchWork-ID: 186178

2012-09-23debug/gdb: fix from upstream with newer glibc(siginfo vs siginfo_t, Gentoo gdb-7.4.1 patch)
Jang, Bongseo <graycells@gmail.com> [Sun, 23 Sep 2012 11:53:02 +0900] rev 3059
debug/gdb: fix from upstream with newer glibc(siginfo vs siginfo_t, Gentoo gdb-7.4.1 patch)

This is for when you failed to build gdb-native with the error:

gdb-7.4.1/gdb/linux-nat.h:79:18: error: field 'siginfo' has incomplete type"

This is from mirror://gentoo/distfiles/gdb-7.4.1-patches-2.tar.xz

Signed-off-by: "Jang, Bongseo" <graycells@gmail.com>
[yann.morin.1998@free.fr: refresh ptrace_setsiginfo patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-ID: <4eef2edec3201c50b420.1348370891@localhost.localdomain>
PatchWork-ID: 186179

2012-09-23libc/eglibc: Split changeset 3052:06b663f297 into eglibc/libc and eglibc/ports patches
Jang, Bongseo <graycells@gmail.com> [Sun, 23 Sep 2012 11:18:30 +0900] rev 3058
libc/eglibc: Split changeset 3052:06b663f297 into eglibc/libc and eglibc/ports patches

crosstool-ng's glibc patche is made against glibc/libc sub-dir.
changeset 3052:06b663f297 is against glibc top-dir. it needs to split.

Signed-off-by: "Jang, Bongseo" <graycells@gmail.com>
[yann.morin.1998@free.fr: fix the ports patches depth]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-ID: <5040c8e83e35618361dc.1348370890@localhost.localdomain>
PatchWork-ID: 186177

2012-09-21cc/gcc: add gcc 4.7.2
Florian Fainelli <f.fainelli@gmail.com> [Fri, 21 Sep 2012 16:38:18 +0200] rev 3057
cc/gcc: add gcc 4.7.2

cc/gcc: add gcc 4.7.2

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Message-ID: <5869423.KezhlrYYmc@flexo>
PatchWork-ID: 185750

2012-09-21kernel/linux: update revisions
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Fri, 21 Sep 2012 16:26:10 +0200] rev 3056
kernel/linux: update revisions

Update Linux with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <f87414d1b7f0d5d417b7.1348237635@advdt005-ubuntu>
PatchWork-ID: 185747

2012-09-21debug/gdb: update Linaro GDB revisions to 2012.09
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Fri, 21 Sep 2012 16:14:50 +0200] rev 3055
debug/gdb: update Linaro GDB revisions to 2012.09

Update Linaro GDB with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <100d9c4f4fb2aeab2a57.1348236919@advdt005-ubuntu>
PatchWork-ID: 185742

2012-09-21cc/gcc: update Linaro GCC revisions to 2012.09
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Fri, 21 Sep 2012 16:10:34 +0200] rev 3054
cc/gcc: update Linaro GCC revisions to 2012.09

Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <cd97309e8b617d7d729e.1348236736@advdt005-ubuntu>
PatchWork-ID: 185741

2012-09-20arch/microblaze: add new architecture
David Holsgrove <david.holsgrove@xilinx.com> [Thu, 20 Sep 2012 14:01:38 +1000] rev 3053
arch/microblaze: add new architecture

Add Microblaze architecture support.

This depends on EXPERIMENTAL, as upstream projects do not yet
include full support to build a modern microblaze compiler.
This is in the process of being updated, but is not currently
publicly accessible.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
Message-Id: <9c93e18b3d68b19303f3.1348113870@localhost.localdomain>
PatchWork-ID: 185305

2012-09-19libc/eglibc: backport OpenEmbedded patches for eglibc 2.16
Florian Fainelli <f.fainelli@gmail.com> [Wed, 19 Sep 2012 10:43:04 +0200] rev 3052
libc/eglibc: backport OpenEmbedded patches for eglibc 2.16

With this 3 patches, I was able to build and run an eglibc-based system
on MIPS(el) and ARM targets.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

2012-09-19binutils/binutils: backport upstream fix for binutils 2.22 ld bug 14189
Florian Fainelli <f.fainelli@gmail.com> [Wed, 19 Sep 2012 10:40:50 +0200] rev 3051
binutils/binutils: backport upstream fix for binutils 2.22 ld bug 14189

See http://sourceware.org/bugzilla/show_bug.cgi?id=14189 for more information.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

2012-09-19cc/gcc: backport upstream fix for GCC 4.7.0 bug 54494
Florian Fainelli <f.fainelli@gmail.com> [Wed, 19 Sep 2012 10:37:13 +0200] rev 3050
cc/gcc: backport upstream fix for GCC 4.7.0 bug 54494

See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54494, also has a serious
impact on the Linux/MIPS kernel build.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

2012-09-19cc/gcc: backport upstream patches for GCC bug 54369
Florian Fainelli <f.fainelli@gmail.com> [Wed, 19 Sep 2012 10:35:32 +0200] rev 3049
cc/gcc: backport upstream patches for GCC bug 54369

See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54369 for more information
This bug has a serious effect on Linux/MIPS and SPARC kernel builds.

Add the fix for these versions of gcc: 4.6.0, 4.6.2, 4.6.3, and 4.7.0.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

2012-08-12scripts: add option to only use the mirror
Austin Morton <austinpmorton@gmail.com> [Sun, 12 Aug 2012 07:45:42 -0400] rev 3048
scripts: add option to only use the mirror

Currently, if downloads are forbidden, the mirror is still tried for.

Change this way:
- if downlaods forbidden, do not try neither upstream locations nor mirror
- add option to only use the mirror, and avoid upstream locations

Signed-off-by: Austin Morton <austinpmorton@gmail.com>
[yann.morin.1998@free.fr: broaden the if USE_MIRRORto enclode mirror location]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2012-09-16libc/newlib: add newlib 1.20.0 support
Austin Morton <austinpmorton@gmail.com> [Sun, 16 Sep 2012 14:12:22 -0400] rev 3047
libc/newlib: add newlib 1.20.0 support

Signed-off-by: Austin Morton <austinpmorton@gmail.com>

2012-08-19scripts: use generic urls for sourceforge 1.16
Bryan Hundven <bryanhundven@gmail.com> [Sun, 19 Aug 2012 01:09:40 -0700] rev 3046
scripts: use generic urls for sourceforge

For expat, duma, and strace, use the generic url and 302 to the mirror
instead of trying to download a file from a downed mirror and
failing.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Message-Id: <b69ebeb72fef93c04c84.1345364051@flambe.is-a-geek.org>
(transplanted from cb75966698d7e44bc76445d7b249eba89bdf1d8a)

2012-08-07binutils/binutils: CT_BINUTILS_GOLD_THREADED should be CT_BINUTILS_GOLD_THREADS 1.16
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Tue, 07 Aug 2012 14:03:03 +0800] rev 3045
binutils/binutils: CT_BINUTILS_GOLD_THREADED should be CT_BINUTILS_GOLD_THREADS

Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
(transplanted from 712a8ed2276253b5534b2bc7e9b8da8c3648a36f)

2012-09-12scripts: strip gdbserver
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Wed, 12 Sep 2012 17:42:38 +0800] rev 3044
scripts: strip gdbserver

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

2012-08-22cc/gcc: Add the ability to build gcc from svn
Bryan Hundven <bryanhundven@gmail.com> [Wed, 22 Aug 2012 12:26:10 -0700] rev 3043
cc/gcc: Add the ability to build gcc from svn

I took some of the svn functionality from eglibc.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
[yann.morin.1998@free.fr: fix the conditional test in build script]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2012-08-26config/toolchain: fixed typo in help string
Andrzej Bieniek <andyhelp@gmail.com> [Sun, 26 Aug 2012 10:35:20 +0100] rev 3042
config/toolchain: fixed typo in help string

Signed-off-by: "Andrzej Bieniek" <andyhelp@gmail.com>

2012-08-22libc/{,e}glibc: remove rude wordings in commetns
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 22 Aug 2012 23:11:03 +0200] rev 3041
libc/{,e}glibc: remove rude wordings in commetns

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

2012-08-22scripts/functions: remove rude wordings
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 22 Aug 2012 18:28:07 +0200] rev 3040
scripts/functions: remove rude wordings

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

2012-08-22cc/gcc: cleanup comments from rude wordings
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 22 Aug 2012 18:08:39 +0200] rev 3039
cc/gcc: cleanup comments from rude wordings

That comes from way back when nothing would work as expected, and I would
easily get heated as soon as anything would break. Sigh, those were the
old days.

Apologies.

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

2012-08-20kernel/linux: update revisions
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Mon, 20 Aug 2012 20:29:48 +0200] rev 3038
kernel/linux: update revisions

Update Linux with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <3be58d464e5a3ed992b4.1345487432@advdt005-ubuntu>

2012-08-20cc/gcc: update Linaro GCC revisions to 2012.08
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Mon, 20 Aug 2012 20:20:26 +0200] rev 3037
cc/gcc: update Linaro GCC revisions to 2012.08

Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <6b26606413410c987746.1345486888@advdt005-ubuntu>

2012-08-19debug/expat: Update expat to 2.1.0
Bryan Hundven <bryanhundven@gmail.com> [Sun, 19 Aug 2012 01:11:45 -0700] rev 3036
debug/expat: Update expat to 2.1.0

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Message-Id: <c59009fdaf23d82822c6.1345364052@flambe.is-a-geek.org>

2012-08-19scripts: use generic urls for sourceforge
Bryan Hundven <bryanhundven@gmail.com> [Sun, 19 Aug 2012 01:09:40 -0700] rev 3035
scripts: use generic urls for sourceforge

For expat, duma, and strace, use the generic url and 302 to the mirror
instead of trying to download a file from a downed mirror and
failing.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Message-Id: <b69ebeb72fef93c04c84.1345364051@flambe.is-a-geek.org>

2012-08-15samples: add rule to dump current .config into a defconfig
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 15 Aug 2012 22:06:22 +0200] rev 3034
samples: add rule to dump current .config into a defconfig

... and one to restore it, of course.

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

2012-08-05libc/glibc: add patches for glibc 2.14.1
Jonathan Liu <net147@gmail.com> [Sun, 05 Aug 2012 00:33:27 +1000] rev 3033
libc/glibc: add patches for glibc 2.14.1

Signed-off-by: Jonathan Liu <net147@gmail.com>

2012-08-07binutils/binutils: CT_BINUTILS_GOLD_THREADED should be CT_BINUTILS_GOLD_THREADS
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Tue, 07 Aug 2012 14:03:03 +0800] rev 3032
binutils/binutils: CT_BINUTILS_GOLD_THREADED should be CT_BINUTILS_GOLD_THREADS

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

2012-08-041.16: update version to 1.16.0+hg 1.16
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sat, 04 Aug 2012 23:41:25 +0200] rev 3031
1.16: update version to 1.16.0+hg

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

2012-08-04Tagging release 1.16.0 1.16
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sat, 04 Aug 2012 23:41:24 +0200] rev 3030
Tagging release 1.16.0

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

2012-08-041.16: create maintenance branch, update version to 1.16.0 1.16 crosstool-ng-1.16.0
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sat, 04 Aug 2012 23:41:24 +0200] rev 3029
1.16: create maintenance branch, update version to 1.16.0

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

2012-08-04scripts: update config.{guess,sub}
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sat, 04 Aug 2012 23:40:16 +0200] rev 3028
scripts: update config.{guess,sub}

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

2012-08-04cc/gcc: remove duplicate code in core pass-1
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sat, 04 Aug 2012 23:15:02 +0200] rev 3027
cc/gcc: remove duplicate code in core pass-1

Whatever the threading model (NPTL, LT...), we build the same
core pass-1 compiler, so there is no need to have a case-esac
construct.

Remove now mis-leading and incorect comment.

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

2012-08-03kernel/linux: add latest versions
"Yann E. MORIN" <yann.morin.1998@free.fr> [Fri, 03 Aug 2012 01:26:12 +0200] rev 3026
kernel/linux: add latest versions

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

2012-08-02scripts/xldd: fix pattern matching with new binutils
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 02 Aug 2012 21:38:41 +0200] rev 3025
scripts/xldd: fix pattern matching with new binutils

New binutils (circa 2.2x?) append 'program interpreter' to the
(NEEDED) line for the dynamic linker, which breaks our current
pattern.

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

2012-08-01cc/gcc: remove now useless condition-variable
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 01 Aug 2012 19:07:37 +0200] rev 3024
cc/gcc: remove now useless condition-variable

Both core pass-1 and -2 compilers are unconditionally built,
so we no longer require a condition variable.

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

2012-08-01cc/gcc: always build core pass-1
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 01 Aug 2012 19:02:06 +0200] rev 3023
cc/gcc: always build core pass-1

Up until now, all conditions requiring a core pass-1 was when the
threading implementation used was NPTL. So we only built the core
pass-1 when NPTL was used.

Now, things have changed (what? when? Dunno...), and some bare-metal
canadian toolchains fail to build if a core pass-1 is not present.

OTOH, a core pass-1, although not needed for non-NPTL builds, does
no harm at all if it is present.

So, unconditionally build a core pass-1 (but still pass conditional
options to the core backend).

Reported-by: Per Arnold Blaasmo <Per-Arnold.Blaasmo@atmel.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2012-08-01scripts/showSample: also print the threading implementation
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 01 Aug 2012 22:02:26 +0200] rev 3022
scripts/showSample: also print the threading implementation

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

2012-07-31kernel/linux: forgot to update linux-stable
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 31 Jul 2012 23:55:12 +0200] rev 3021
kernel/linux: forgot to update linux-stable

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

2012-07-31kernel/linux: update version
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 31 Jul 2012 23:36:55 +0200] rev 3020
kernel/linux: update version

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

2012-07-31kconfig: fix ncurses headers location
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 31 Jul 2012 23:04:49 +0200] rev 3019
kconfig: fix ncurses headers location

On some distors (eg. latesst openSuSE), the ncurses headers are not
located in the usual location.

Hard-code this location in the kconfig Makefile, as a (temporary?)
workaround.

Reported-by: Simon Gornall <sgornall@apple.com>
[Fix suggested by Simon]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2012-07-31complibs/cloog: create missing m4 dir
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 31 Jul 2012 22:27:29 +0200] rev 3018
complibs/cloog: create missing m4 dir

Because we now patch configure.in and configure, the Makefile quicks
in a re-build rule as the source files are now more recent than the
bundled generated files, and that fails because the m4 directory
is missing, although on some systems where aclocal is not installed,
the re-build rule does nothing (except a warning).

Always create tht directory.

Reported-by: Per Arnold Blaasmo <per-arnold.blaasmo@atmel.com>
[Also thanks to Thomas De Schampheleire <patrickdepinguin@gmail.com>
for some digging works on this issue]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2012-07-23kernel/linux: update revisions
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Mon, 23 Jul 2012 14:06:25 +0200] rev 3017
kernel/linux: update revisions

Update Linux with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <c626b7332f2b92478fda.1343045360@advdt005-ubuntu>

2012-07-12cc/gcc: update Linaro GCC revisions to 2012.07
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Thu, 12 Jul 2012 22:38:10 +0200] rev 3016
cc/gcc: update Linaro GCC revisions to 2012.07

Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <e1da9700b5ce493eeb94.1342125564@advdt005-ubuntu>

2012-07-02cc/gcc: Update gcc to 4.7.1 (v2)
Bryan Hundven <bryanhundven@gmail.com> [Mon, 02 Jul 2012 21:36:33 -0700] rev 3015
cc/gcc: Update gcc to 4.7.1 (v2)

Attempt #2 at updating gcc.
This time without porting gcc 4.7.0 patches forward.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Message-Id: <aeffa57986d52dd7b0a8.1341290304@flambe.is-a-geek.org>

2012-07-02libc/eglibc: Add eglibc 2.16
Bryan Hundven <bryanhundven@gmail.com> [Mon, 02 Jul 2012 20:36:56 -0700] rev 3014
libc/eglibc: Add eglibc 2.16

Patches don't need to come forward, as they are in this branch.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Message-Id: <6fdf77081379812820e8.1341286640@flambe.is-a-geek.org>

2012-07-02debug/gdb: Add gdb 7.3.1, 7.4, and 7.4.1
Bryan Hundven <bryanhundven@gmail.com> [Mon, 02 Jul 2012 20:31:06 -0700] rev 3013
debug/gdb: Add gdb 7.3.1, 7.4, and 7.4.1

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Message-Id: <c917c398e95919856980.1341286289@flambe.is-a-geek.org>

2012-07-23scripts+samples: fix listings the samples
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 23 Jul 2012 22:02:23 +0200] rev 3012
scripts+samples: fix listings the samples

Since we use defconfigs to save the samples, listing all the
samples can no longer be done by passing all the sample names
at one to the script; we need to pass them one-by-one after
we expand the sample's defconfig ibnto a complete .config.

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

2012-07-171.15: update version to 1.15.3+hg 1.15
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 17 Jul 2012 22:39:54 +0200] rev 3011
1.15: update version to 1.15.3+hg

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

2012-07-17Tagging release 1.15.3 1.15
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 17 Jul 2012 22:39:54 +0200] rev 3010
Tagging release 1.15.3

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

2012-07-171.15: update version to 1.15.3 1.15 crosstool-ng-1.15.3
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 17 Jul 2012 22:39:53 +0200] rev 3009
1.15: update version to 1.15.3

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

2012-07-17configure: also check for install 1.15
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 17 Jul 2012 22:21:28 +0200] rev 3008
configure: also check for install

We also need the GNU variant for this one.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
(transplanted from 0dfc9c1fcb348e354edc37aacd2e8dcb223e9ab2)

2012-07-17configure: add checks for objcopy and objdump 1.15
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 17 Jul 2012 21:42:32 +0200] rev 3007
configure: add checks for objcopy and objdump

These two went MIA after the migration to an autoconf-based ./configure.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
(transplanted from 2d362c2a8ed369f72027da00ec79245cb44bbf82)

2012-07-14configure: check for GNU awk, not any awk 1.15
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sat, 14 Jul 2012 18:25:47 +0200] rev 3006
configure: check for GNU awk, not any awk

Building glibc requires GNU awk, not any other.

Reported-by: Han Sooloo <hansooloo@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
(transplanted from 4ccfca658d9bbbc4a682751332ce5b92cbdfb0fe)