2013-07-17docs/help: rename defconfig/olddefconfig into
Thomas De Schampheleire <patrickdepinguin@gmail.com> [Wed, 17 Jul 2013 08:25:43 +0200] rev 3225
docs/help: rename defconfig/olddefconfig into

After commit 15f57d843296e244487ac0845a73247f9d6749b8, the defconfig target
has been renamed into savedefconfig, and olddefconfig into defconfig. However,
the help text and man page was not updated.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
[yann.morin.1998@free.fr: rename CONFIG -> DEFCONFIG]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <0c1dff89c9ee1672693f.1374042343@BEANTN0L019720>
Patchwork-Id: 259601

2013-07-17docs: fix typos in manpage
Thomas De Schampheleire <patrickdepinguin@gmail.com> [Wed, 17 Jul 2013 08:25:42 +0200] rev 3224
docs: fix typos in manpage

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Message-Id: <62dedb0618a46bf0743f.1374042342@BEANTN0L019720>
Patchwork-Id: 259600

2013-07-10Allow reordered MAKEFLAGS
Ray Donnelly <mingw.android@gmail.com> [Wed, 10 Jul 2013 12:40:21 +0100] rev 3223
Allow reordered MAKEFLAGS

-R and -r (-Rr) can be reordered to -r and -R (-rR).
This happens with MSYS1/2 gnu-make and mingw32-make,
and triggers "Recursion detected, bailing out..."

Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
Message-Id: <CAOYw7dsdsg-XaDOwwEWJeUUSo2Vu_UD5GtkSgNTu59ai7yx0cQ@mail.gmail.com>
Patchwork-Id: 258027

2013-06-28debug/gdb: update Linaro GDB revision for 2013.05
"Michael Hope <michaelh@juju.net.nz>" [Fri, 28 Jun 2013 22:35:06 +0200] rev 3222
debug/gdb: update Linaro GDB revision for 2013.05

Update Linaro GDB with the latest available revision.

Signed-off-by: "Michael Hope" <michaelh@juju.net.nz>
Message-Id: <bea34f42853a9d87a628.1372452016@localhost>
Patchwork-Id: 255667

2013-06-28cc/gcc: update Linaro GCC revisions for 2013.06
"Michael Hope <michaelh@juju.net.nz>" [Fri, 28 Jun 2013 22:23:54 +0200] rev 3221
cc/gcc: update Linaro GCC revisions for 2013.06

Update Linaro GCC with the latest available revisions.

Also updates Linaro GCC 4.6 to the final version.

Signed-off-by: "Michael Hope" <michaelh@juju.net.nz>
Message-Id: <83e33862f7641c2ad326.1372451435@localhost>
Patchwork-Id: 255666

2013-05-23complibs/mpc: add versions 1.0 and 1.0.1
Daniel Rubio Bonilla <danielrubiob@gmail.com> [Thu, 23 May 2013 17:51:15 +0200] rev 3220
complibs/mpc: add versions 1.0 and 1.0.1

Signed-off-by: Daniel Rubio Bonilla <danielrubiob@gmail.com>
Message-Id: <CAOfWMGAc7XMXYNZ2Tz-a4PgRrCsAz5hN5NkH9KRe9+pm+go7UQ@mail.gmail.com>
Patchwork-Id: 245977

2013-05-05cc/gcc: add 4.8.0 and linaro-4.8
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 05 May 2013 18:01:47 +0200] rev 3219
cc/gcc: add 4.8.0 and linaro-4.8

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

2013-05-05complibs/cloog: add support for the ISL backend
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 05 May 2013 00:01:05 +0200] rev 3218
complibs/cloog: add support for the ISL backend

CLooG 0.18+ will use ISL instead of PPL, so we have to configure
adequately depending of which backend is in use.

The Kconfig entries will decide for us which is selected, so we
can rely on either PPL xor ISL to be selected, not both.

Reported-by: "Plotnikov Dmitry" <leitz@ispras.ru>
[Dmitry did a preliminray patch to add ISL support,
which this patch is inspired from]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2013-05-05cc/gcc: add preliminray support for 4.8
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 05 May 2013 17:59:00 +0200] rev 3217
cc/gcc: add preliminray support for 4.8

This means:
- introduce the new symbols for 4.8
- do not always select PPL if graphite is selected

Reported-by: "Plotnikov Dmitry" <leitz@ispras.ru>
[Dmitry did a preliminray patch to add gcc-4.8 support,
which this patch is inspired from]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2013-05-04complibs: add ISL
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sat, 04 May 2013 00:08:34 +0200] rev 3216
complibs: add ISL

ISL is used by gcc-4.8 onward for GRAPHITE, so is also used as
backend for CLooG 0.18.0 onward.

Reported-by: "Plotnikov Dmitry" <leitz@ispras.ru>
[Dmitry did a preliminray patch to add ISL, which this one is inspired from]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2013-05-13cc/gcc: Set CXX_FOR_BUILD for bare metal and canadian build.
Zhenqiang Chen <zhenqiang.chen@linaro.org> [Mon, 13 May 2013 15:00:56 +0800] rev 3215
cc/gcc: Set CXX_FOR_BUILD for bare metal and canadian build.

>From 4.8, g++ is used as the default compiler to build the toolchain.

Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
Message-Id: <CACgzC7B-LQvAw3hOYhBA7b7g0H1WtH20gqXM=Y=YFO4FrnZKWQ@mail.gmail.com>
Patchwork-Id: 243590

2013-05-03scripts: handle gcc 4.7 and 4.8 in addToolsVersion.sh
"Yann E. MORIN" <yann.morin.1998@free.fr> [Fri, 03 May 2013 17:12:15 +0000] rev 3214
scripts: handle gcc 4.7 and 4.8 in addToolsVersion.sh

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

2013-05-05cc/gcc: reorder version strings
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 05 May 2013 18:00:16 +0200] rev 3213
cc/gcc: reorder version strings

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

2013-05-05scripts: help debugging missing directories
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 05 May 2013 18:34:20 +0200] rev 3212
scripts: help debugging missing directories

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

2013-05-06kernel/linux: bump versions
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 06 May 2013 11:44:28 +0200] rev 3211
kernel/linux: bump versions

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

2013-05-03cc/gcc: add 4.7.3 and 4.6.4 bug-fixes releases
"Yann E. MORIN" <yann.morin.1998@free.fr> [Fri, 03 May 2013 15:36:11 +0000] rev 3210
cc/gcc: add 4.7.3 and 4.6.4 bug-fixes releases

Bring the appropriate patches along, too.

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

2013-05-02cc/gcc: modify to build gcc-4.8-based cross-tools
Jongsung Kim <neidhard.kim@lge.com> [Thu, 02 May 2013 23:31:33 +0000] rev 3209
cc/gcc: modify to build gcc-4.8-based cross-tools

Building cross-tool based on gcc-4.8 fails while "Installing
pass-2 core C compiler", because building libgcc.mvars needs
libbacktrace.a that gcc.sh doesn't build. This patch inserts
a few lines configuring, and making libbacktrace into gcc.sh
to build gcc-4.8-based cross-tools successfully.

Reported-by: Plotnikov Dmitry <leitz@ispras.ru>
Signed-off-by: Jongsung Kim <neidhard.kim@lge.com>
Message-Id: <201305031831.33395.neidhard.kim@lge.com>
Patchwork-Id: 241258

2013-04-26complibs/mpfr: bump version
"Yann E. MORIN" <yann.morin.1998@free.fr> [Fri, 26 Apr 2013 14:30:34 +0200] rev 3208
complibs/mpfr: bump version

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

2013-04-26complibs/gmp: bump version
"Yann E. MORIN" <yann.morin.1998@free.fr> [Fri, 26 Apr 2013 14:30:05 +0200] rev 3207
complibs/gmp: bump version

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

2013-04-13complibs/ppl: only add -fpermissive flag to CXXFLAGS
Samuel Martin <smartin@aldebaran-robotics.com> [Sat, 13 Apr 2013 19:41:36 +0200] rev 3206
complibs/ppl: only add -fpermissive flag to CXXFLAGS

-fpermissive is not a valid option to gcc.

Adding it to the CFLAGS make the ppl checks fail with the following
error:

[ALL ] Making check in tests
[ALL ] cc1: warnings being treated as errors
[ERROR] cc1: error: command line option "-fpermissive" is valid for C++/ObjC++ but not for C
[ALL ] cc1: warnings being treated as errors
[ERROR] cc1: error: command line option "-fpermissive" is valid for C++/ObjC++ but not for C
[ERROR] make[7]: *** [formatted_output.o] Error 1

Signed-off-by: "Samuel Martin" <smartin@aldebaran-robotics.com>
Message-Id: <bba2482a06a11415207e.1365876457@smartin-de-2.aldebaran.lan>
Patchwork-Id: 236383

2013-03-21scripts/functions: add xz-ed linux tarballs
"Jerzy Grzegorek" <jerzy.grzegorek@trzebnica.net> [Thu, 21 Mar 2013 11:01:09 +0100] rev 3205
scripts/functions: add xz-ed linux tarballs

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Message-Id: <d0ec17a687dc80754e0f.1363860872@NX5000>
Patchwork-Id: 229619

2013-03-21kernel/linux: add xz-ed linux tarballs
"Jerzy Grzegorek" <jerzy.grzegorek@trzebnica.net> [Thu, 21 Mar 2013 10:57:31 +0100] rev 3204
kernel/linux: add xz-ed linux tarballs

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Message-Id: <f249828223fc75313bee.1363860871@NX5000>
Patchwork-Id: 229618

2013-03-31arch/avr32: Fix download of header files
Martin Guy <martinwguy@gmail.com> [Sun, 31 Mar 2013 04:07:38 +0000] rev 3203
arch/avr32: Fix download of header files

This patch fixes the download of the avr32 headers in crosstool-ng by
fetching them directly from Atmel's web site instead of the now-broken URL
given by the original author of the avr32-header-fetching modification,
who fetched them from a copy on his own, now-defunct server.

It also adds the necessary logic to extract from a zip file, as that is
how the headers are packaged.

To configure it for avr32 after launching ct-ng menuconfig in an empty
directory:

Paths and misc options ->
Shell to use as CONFIG_SHELL = sh
Target options ->
Target Architecture = avr32
Toolchain options ->
Tuple's alias = avr32
Binary utilities ->
binutils version = 2.18a
C compiler
gcc version = 4.2.2
C-library
newlib version = 1.17.0
Enable IOs on long long = yes
Enable IOs on floats and doubles = yes
Disable the syscalls supplied with newlib = yes

CONFIG_SHELL is necessary to get round the "fragment: command not
found" bug when binutils-2.18 is configured using bash.

Prepared against crosstool-ng mercurial trunk on 31 March 2012.

Signed-off-by: Martin Guy <martinwguy@gmail.com>
[yann.morin.1998@free.fr: update bundles sample accordingly]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <CAL4-wQrg_NQ7jm-NCADqeyQr9twyhtx42OUGNThP6gWeqZc=kw@mail.gmail.com>
Patchwork-Id: 232612

2013-04-11kernel/linux: update revisions
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Thu, 11 Apr 2013 15:24:46 +0200] rev 3202
kernel/linux: update revisions

Update Linux with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
[yann.morin.1998@free.fr: added newer versions released since]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <435dcc4cade342ab9ee0.1365686746@advdt005-ubuntu>
Patchwork-Id: 235741

2013-04-11cc/gcc: update Linaro GCC revisions to 2013.04
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Thu, 11 Apr 2013 15:12:10 +0200] rev 3201
cc/gcc: update Linaro GCC revisions to 2013.04

Update Linaro GCC with the latest available revisions.

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

2013-03-16debug/dmalloc: enforce cross-compilation
"Samuel Martin" <s.martin49@gmail.com> [Sat, 16 Mar 2013 15:33:44 +0100] rev 3200
debug/dmalloc: enforce cross-compilation

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Message-Id: <69772732f551aa342a2c.1363446264@laptop>
Patchwork-Id: 228221

2013-03-16debug/strace: enforce cross-compilation
"Samuel Martin" <s.martin49@gmail.com> [Sat, 16 Mar 2013 15:47:56 +0100] rev 3199
debug/strace: enforce cross-compilation

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Message-Id: <24b6540a08cbca7ee1fa.1363446263@laptop>
Patchwork-Id: 228220

2013-03-16debug/gdb: enforce gdbserver cross-compilation
"Samuel Martin" <s.martin49@gmail.com> [Sat, 16 Mar 2013 15:46:45 +0100] rev 3198
debug/gdb: enforce gdbserver cross-compilation

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Message-Id: <ca85cad85c4dd20e74f1.1363446262@laptop>
Patchwork-Id: 228219

2013-03-14kernel/linux: update revisions
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Thu, 14 Mar 2013 22:03:33 +0100] rev 3197
kernel/linux: update revisions

Update Linux with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <14c04210a1dc18f3c678.1363295061@advdt005-ubuntu>
Patchwork-Id: 227803

2013-03-14cc/gcc: update Linaro GCC revisions to 2013.03
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Thu, 14 Mar 2013 21:52:31 +0100] rev 3196
cc/gcc: update Linaro GCC revisions to 2013.03

Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <702c72b9ddddd4ff1120.1363294492@advdt005-ubuntu>
Patchwork-Id: 227794

2013-03-03libc/glibc: do not overwrite existing bits/syscall.h
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 03 Mar 2013 22:24:40 +0100] rev 3195
libc/glibc: do not overwrite existing bits/syscall.h

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Rafael C <groups.r2@gmail.com>
Cc: Jérôme BARDON <bardon.pro@gmail.com>
Cc: Daniel Price <daniel.price@gmail.com>

2013-03-03libc/glibc: fix installing syscall.h when installing start-files.
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 03 Mar 2013 22:18:35 +0100] rev 3194
libc/glibc: fix installing syscall.h when installing start-files.

Reported-by: Rafael C <groups.r2@gmail.com>
Reported-by: Jérôme BARDON <bardon.pro@gmail.com>
Reported-by: Daniel Price <daniel.price@gmail.com>
[yann.morin.1998@free.fr: use a conditional approach, also suggested by Daniel]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2013-03-03debug/gdb: a litle bit of trivial code-reordering
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 03 Mar 2013 17:17:55 +0100] rev 3193
debug/gdb: a litle bit of trivial code-reordering

Move all options-setting code at the same place.

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

2013-03-03debug/gdb: fix possibly broken code
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 03 Mar 2013 17:15:56 +0100] rev 3192
debug/gdb: fix possibly broken code

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

2013-03-03debug/gdb: move the ncurses build to a backend
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 03 Mar 2013 16:21:51 +0100] rev 3191
debug/gdb: move the ncurses build to a backend

This cleans up the code a bit.

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

2013-03-03debug/gdb: always enable expat for the cross-gdb
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 03 Mar 2013 16:19:32 +0100] rev 3190
debug/gdb: always enable expat for the cross-gdb

There's no point in not supporting XML in the cross-gdb.
I mean, come on... ;-)

It's still the responsibility of the user to have the necessary
devel expat packages installed for his/her distro.

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

2013-03-03debug/gdb: fix $need_expat_src usage for native-gdb
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 03 Mar 2013 15:30:02 +0100] rev 3189
debug/gdb: fix $need_expat_src usage for native-gdb

For the native-gdb (ie on the target), we unconditionally
need to build expat.

Make it a backend, it makes a litle bit cleaner code.

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

2013-03-03debug/gdb: fix $need_ncurses_src usage
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 03 Mar 2013 15:25:52 +0100] rev 3188
debug/gdb: fix $need_ncurses_src usage

It should be used only to decide whether we need to download/extract
ncurses, not wheter we should build it or not.

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

2013-03-03debug/gdb: fix the mess do_{gdb,expat,ncurses} have become
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 03 Mar 2013 15:02:32 +0100] rev 3187
debug/gdb: fix the mess do_{gdb,expat,ncurses} have become

Rename those three variables to properly reflect their purpose: decide
whether we need to download/extract gdb/libexpat/libncurses, not whether
we need to build them or not.

This is only a rename for now, subsequent changes will further
fix this mess.

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

2013-03-03libc/newlib: update fetch location
Trevor Woerner <twoerner@gmail.com> [Sun, 03 Mar 2013 13:10:51 -0500] rev 3186
libc/newlib: update fetch location

The menu system provides an option to allow a user to request newlib
version 2.0.0. newlib-2.0.0, however, is not available at the download
location currently being used. It is, however, available (as are other
supported versions of newlib) at an alternate location.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Message-Id: <75ab5151c7f5dc9086e3.1362334313@suse64>
Patchwork-Id: 224561

2013-02-25Makefile: fix parrallel (-j) installs
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 25 Feb 2013 21:19:31 +0100] rev 3185
Makefile: fix parrallel (-j) installs

Currently, we would remove previously installed patches before
installing the new ones. Unfortunately, that does not play well
with heavily parallel installs.

Now, we consider it is the responsibility of the user to first
uninstall any previous version before installing a new one.

Reported-by: Markos Chandras <markos.chandras@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2013-02-19kernel/linux: update revisions
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Tue, 19 Feb 2013 13:07:09 +0100] rev 3184
kernel/linux: update revisions

Update Linux with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
[yann.morin.1998@free.fr: add latest versions since released]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <125b3612bbefcb57166b.1361275815@advdt005-ubuntu>
Patchwork-Id: 221686

2013-02-05samples: add arm-cortexa9_neon-linux-gnueabihf
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Tue, 05 Feb 2013 12:29:52 +0100] rev 3183
samples: add arm-cortexa9_neon-linux-gnueabihf

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
[yann.morin.1998@free.fr: make it a defconfig with pinned versions]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <bdf1fde968aee8d0cd95.1360063830@advdt005-ubuntu>
Patchwork-Id: 218239

2013-02-06libc/glibc: add patch to fix build for PowerPC64.
"Frederic Roussel" <fr.frasc@gmail.com> [Wed, 06 Feb 2013 13:11:46 -0800] rev 3182
libc/glibc: add patch to fix build for PowerPC64.

For a PowerPC64 build, avoid erroneous inline optimization of initfini.s

Signed-off-by: "Frederic R. ROUSSEL" <fr.frasc@gmail.com>
Message-Id: <7585f649ad60b23c4a31.1360185227@x58>
Patchwork-Id: 218755

2013-02-15cc/gcc: update Linaro GCC revisions to 2013.02
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Fri, 15 Feb 2013 15:56:25 +0100] rev 3181
cc/gcc: update Linaro GCC revisions to 2013.02

Update Linaro GCC with the latest available revisions.

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

2013-02-15complibs/ppl: update upstream location
"Yann E. MORIN" <yann.morin.1998@free.fr> [Fri, 15 Feb 2013 18:54:27 +0100] rev 3180
complibs/ppl: update upstream location

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

2013-01-311.18: update version to 1.18.0+hg 1.18
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 31 Jan 2013 21:07:48 +0100] rev 3179
1.18: update version to 1.18.0+hg

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

2013-01-31Tagging release 1.18.0 1.18
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 31 Jan 2013 21:07:48 +0100] rev 3178
Tagging release 1.18.0

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

2013-01-311.18: create maintenance branch, update version to 1.18.0 1.18 crosstool-ng-1.18.0
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 31 Jan 2013 21:07:48 +0100] rev 3177
1.18: create maintenance branch, update version to 1.18.0

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

2013-01-28scripts: fix finishing the toolchain when download/extract-only is set
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 28 Jan 2013 21:53:18 +0100] rev 3176
scripts: fix finishing the toolchain when download/extract-only is set

In case we only download or extract the sources, do not fail while
finishing the toolchain: the test-suite directory may not exist, so
we can't chmod it.

Also, use safer constructs that won't trigger the 'set -e' in case of
failure (eg.: "[ ... ] && ..." is not safe in case the test fails).

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

2013-01-24cc/gcc: remove 'sub-level' version form symbols
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 24 Jan 2013 22:37:31 +0100] rev 3175
cc/gcc: remove 'sub-level' version form symbols

Now we use defconfig files to store the samples, we have to be a bit more
conservatives in the symbols names, so as to avoid gigantic version bumps
when updating sub-level versions from a package.

Update samples accordingly.

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

2013-01-24cc/gcc: remove 'sub-level' version form symbols
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 24 Jan 2013 22:21:19 +0100] rev 3174
cc/gcc: remove 'sub-level' version form symbols

Now we use defconfig files to store the samples, we have to be a bit more
conservatives in the symbols names, so as to avoid gigantic version bumps
when updating sub-level versions from a package.

For example (using fictitious versions):
- in crosstool-NG 1.17.0, we choose:
- latest gcc is gcc-linaro-4.7-2012.10, which is the default for the
choice in the menuconfig
- gcc-linaro-4.6-2012.10 is selected
- so, sample has an explicit symbol for the selected gcc version, as it
is not the default
- we update to crosstool-NG 1.18.0:
- latest gcc version is gcc-linaro-4.7-2013.01
- gcc-linaro-46 has been updated to gcc-linaro-4.6-2013.01
- as the sample now has no *valid* symbol to set the gcc version, the
default is used, while we would have expected to still use the 4.6
release from linaro, not the 4.7

Get rid of sub-level (ie. the third digit sequence in versions) from the
symbols for linaro versions.

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

2013-01-24binutils/binutils: 2.23 has gold
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 24 Jan 2013 22:42:33 +0100] rev 3173
binutils/binutils: 2.23 has gold

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

2013-01-27script: allow to pass any float value for CT_LOAD
Samuel Martin <s.martin49@gmail.com> [Sun, 27 Jan 2013 17:54:19 +0100] rev 3172
script: allow to pass any float value for CT_LOAD

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Message-Id: <b51acf21c72b4a8e882e.1359320015@laptop>
Patchwork-Id: 216062

2013-01-24samples: print changed symbols when checking samples
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 24 Jan 2013 22:24:38 +0100] rev 3171
samples: print changed symbols when checking samples

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

2013-01-21samples: update the rpi sample
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 21 Jan 2013 23:03:18 +0100] rev 3170
samples: update the rpi sample

And use the newly introduced CT_ARCH_SUFFIX at the same time. :-)

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

2013-01-20arch: allow adding a suffix to the arch-part of a tuple
willy tarreau <w@1wt.eu> [Sun, 20 Jan 2013 12:58:22 +0000] rev 3169
arch: allow adding a suffix to the arch-part of a tuple

For some architectures, it is legit to have an alternate value in the
'architecture' part of the tuple. For example:
armv5te-*
armv7a8-*

Besides, some packages expect the tuple to reflect the arch variant
(eg. openMPI) to detect the variant's capabilities (eg. atomic
primitives).

This patch adds an option for the user to specify a suffix to be added
to the arch-part of the tuple.

Signed-off-by: Willy Tarreau <w@1wt.eu>
Message-ID: <20130120225822.GS6838@1wt.eu>
Patch-Id: 213994
[yann.morin.1998@free.fr: make it a suffix, not an override]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2013-01-22samples: check if update is needed
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 22 Jan 2013 00:32:38 +0100] rev 3168
samples: check if update is needed

Add a ct-ng action to check if samples needs being updated.
This will be usefull when the config options change.

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

2013-01-22kconfig: rename the defconfig and olddefconfig targets
"Yann E. MORIN" <yann.morin.1998@free.fr> [Tue, 22 Jan 2013 00:34:15 +0100] rev 3167
kconfig: rename the defconfig and olddefconfig targets

What 'defconfig' really does is save the current .config to a defconfig,
so it is better named 'savedefconfig' (as other projects do).

What 'olddefconfig' really does is create a .config from a defconfig,
so rename it to 'defconfig' (as other projects do, too).

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

2013-01-18kernel/linux: update revisions
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Fri, 18 Jan 2013 15:15:13 +0100] rev 3166
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: <df032717ca91dc9cc876.1358518690@advdt005-ubuntu>
Patchwork-Id: 213616

2013-01-18cc/gcc: update Linaro GCC revisions to 2013.01
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Fri, 18 Jan 2013 14:47:44 +0100] rev 3165
cc/gcc: update Linaro GCC revisions to 2013.01

Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <539b6c34453a74c17759.1358517007@advdt005-ubuntu>
Patchwork-Id: 213611

2013-01-10scripts: woops, root's UID is 0, not 1000!
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 10 Jan 2013 23:09:38 +0100] rev 3164
scripts: woops, root's UID is 0, not 1000!

Left-over from a test... :-(

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

2013-01-10scripts: check for running as root
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 10 Jan 2013 22:38:48 +0100] rev 3163
scripts: check for running as root

Running as root is really, really dangerous.

Add a runtime-check that refuses to build if running as root.
Can be overriden with a double switch in the menuconfig.

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

2013-01-10libc: get rid of libc_finish
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 10 Jan 2013 21:01:59 +0100] rev 3162
libc: get rid of libc_finish

At long last, we no longer have any libc that requries a libc_finish.
Yeah!

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

2013-01-10libc/newlib: install AVR32 headers during the start-files-and-headers phase
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 10 Jan 2013 19:06:46 +0100] rev 3161
libc/newlib: install AVR32 headers during the start-files-and-headers phase

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

2013-01-10samples: rename this sample
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 10 Jan 2013 18:46:15 +0100] rev 3160
samples: rename this sample

This debug string slipped in surreptitiously...

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

2013-01-10arch/arm: OABI is no more, switch to only EABI
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 10 Jan 2013 00:27:13 +0100] rev 3159
arch/arm: OABI is no more, switch to only EABI

Well, leave the prompt as an OBSOLETE thing, scheduled to
be removed soon.

As an indication OABI lives its last days, gcc-4.8 will no
longer recognise non-EABI targets.

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

2013-01-10arch/arm: add option to use *eabihf tuples
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 10 Jan 2013 00:11:17 +0100] rev 3158
arch/arm: add option to use *eabihf tuples

Toolchains that use the hard-float ABI now are to be denoted by a tuple
ending in *eabihf, while the prevbious *eabi is now an indication that
the toolchain uses the softfloat ABI.

This is purely a cosmetic thing, for distros to differentiate their
hardfloat-ABI ports from their softfloat-ABI ports.

(note: softfloat ABI does not mean that it is using softfloats; it can
be using hardfloat instructions, but using the softfloat ABI).

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

2013-01-09samples: add a sample for the Raspberry Pi
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 09 Jan 2013 18:52:15 +0100] rev 3157
samples: add a sample for the Raspberry Pi

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

2013-01-09scripts: update config.{guess,sub}
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 09 Jan 2013 18:52:00 +0100] rev 3156
scripts: update config.{guess,sub}

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

2013-01-07kernel/linux: add latest versions
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 07 Jan 2013 00:58:13 +0100] rev 3155
kernel/linux: add latest versions

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

2012-12-27binutils/binutils: add latest version
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 27 Dec 2012 12:42:42 +0100] rev 3154
binutils/binutils: add latest version

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

2012-12-27scripts/addToolsVersion: handle elf2flt
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 27 Dec 2012 12:53:32 +0100] rev 3153
scripts/addToolsVersion: handle elf2flt

The one was missing from the list.

It is very improbable that we ever need it, as elf2flt does no release,
and we always get it from CVS head. But for the sake of consistency, we
just add it.

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

2012-12-27scripts/addToolsVersion: properly handle .in vs. .in.2
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 27 Dec 2012 12:45:22 +0100] rev 3152
scripts/addToolsVersion: properly handle .in vs. .in.2

While most components have their version in the .in file, some
have it in the .in.2 (eg. elf2flt).

Currently, to handle this case, we indiscriminately munge both files,
but this is wrong: in the elf2flt case, if we add a binutils version,
we do not want it to be added to elf2flt, and conversely.

So, for each tool, we need to explicitly know what file to munge.

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

2012-12-27libc/newlib: add latest version
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 27 Dec 2012 00:57:26 +0100] rev 3151
libc/newlib: add latest version

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

2012-12-26all: unmark experimental features
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 26 Dec 2012 20:05:19 +0100] rev 3150
all: unmark experimental features

It's been some time now we've had those features, so unmark them
being experimental.

It does not mean everything is perfect, but may gather some more
testing of those features.

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

2012-12-26all: unmark experimental version
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 26 Dec 2012 19:54:12 +0100] rev 3149
all: unmark experimental version

It's been a while we've had those versions, time to unmark them being
experimental. It does not mean everything is perfect, but may gather
some more testing on those versions.

Update samples accordingly.

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

2012-12-26libc/eglibc: add latest version
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 26 Dec 2012 12:13:13 +0100] rev 3148
libc/eglibc: add latest version

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

2012-12-26script/addToolsVersion: fix eglibc version separator
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 26 Dec 2012 13:44:43 +0100] rev 3147
script/addToolsVersion: fix eglibc version separator

eglibc uses '_', not '.' to separate major/minor.

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

2012-12-26libc/glibc: add post-2.14 versions
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 26 Dec 2012 11:49:49 +0100] rev 3146
libc/glibc: add post-2.14 versions

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

2012-12-26libc/glibc: both glibc and eglibc have pkgversion and bugurl
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 26 Dec 2012 13:30:51 +0100] rev 3145
libc/glibc: both glibc and eglibc have pkgversion and bugurl

Well, all eglibc version we support do, and latest glibc versions
we support do.

Not all glibc versions do, but older versions simply ignore the
unrecognised ./configure flags.

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

2012-12-26libc/eglibc: remove now superfluous config knobs
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 26 Dec 2012 12:15:10 +0100] rev 3144
libc/eglibc: remove now superfluous config knobs

All eglibc versions we now have support pkgversion and bugurl.

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

2012-12-26libc/glibc: always enable obsolete RPC
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 26 Dec 2012 13:34:55 +0100] rev 3143
libc/glibc: always enable obsolete RPC

Since unrecognised ./configure flags are simply ignored,
we can always pass --enable-obsolete-rpc.

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

2012-12-26all: remove versions marked obsolete
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 26 Dec 2012 11:53:05 +0100] rev 3142
all: remove versions marked obsolete

For major components, keep the latest version of each major releases.

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

2013-01-06scripts/showTuple: fix stdout
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 06 Jan 2013 12:08:33 +0100] rev 3141
scripts/showTuple: fix stdout

Since we've had the debug shell feature, fd #7 is now used to
redirect stderr, while it was previously unused.

Use fd #9 to redirect stdout.

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

2012-12-23arch: re-order the entries in the float choice
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 23 Dec 2012 14:32:20 +0100] rev 3140
arch: re-order the entries in the float choice

Re-order the three entries in the float choice, in a more sensible
order, ie:
- all hard-float options come first, then soft-float
- options that use the FPU are marked so: hard and softfp
- options that do not use the FPU are marked so: software

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

2012-12-17debug/gdb: update Linaro GDB revisions to 2012.12-1
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Mon, 17 Dec 2012 17:17:23 +0100] rev 3139
debug/gdb: update Linaro GDB revisions to 2012.12-1

Update Linaro GDB with the latest available revisions.

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

2012-12-17cc/gcc: update Linaro GCC revisions to 2012.12
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Mon, 17 Dec 2012 17:13:27 +0100] rev 3138
cc/gcc: update Linaro GCC revisions to 2012.12

Update Linaro GCC with the latest available revisions.

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

2012-12-11debug/gdb: update Linaro GDB revisions to 2012.12
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Tue, 11 Dec 2012 12:40:21 +0100] rev 3137
debug/gdb: update Linaro GDB revisions to 2012.12

Update Linaro GDB with the latest available revisions.

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

2012-12-11kernel/linux: update revisions
"Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [Tue, 11 Dec 2012 12:54:05 +0100] rev 3136
kernel/linux: update revisions

Update Linux with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <515f9ed69f58a0af21e9.1355226920@advdt005-ubuntu>
Patchwork-Id: 205183

2012-12-10complibs/ppl: fix build with newer gcc
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 10 Dec 2012 00:25:48 +0100] rev 3135
complibs/ppl: fix build with newer gcc

ppl-0.10.x does not build with gcc-4.6+, as it uses constructs that were
warnings with gcc-4.5 and before, but are now errors with gcc-4.6 and
above.

Fix that by passing -fpermissive in CFLAGS for ppl 0.10.

Reported-by: Jeremy Rosen <jeremy.rosen@openwide.fr>
Reported-by: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2012-12-05scripts/xldd: use user's sed and grep
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 05 Dec 2012 20:31:43 +0100] rev 3134
scripts/xldd: use user's sed and grep

xldd uses sed and grep as detected by ./configure. This works well if is
used on the machine that build the toolchain.

But if the user moves the toolchain to another machine where sed and grep
are not in the same directory (eg. /bin/sed vs. /usr/bin/sed), then xldd
will stop functionning.

Fix that by using ${SED} and ${GREP} if they are set in the environment.

Reported-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2012-11-25cc/gcc: do not print 'core' or 'final'
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 25 Nov 2012 18:22:38 +0100] rev 3133
cc/gcc: do not print 'core' or 'final'

In gcc-'s core and final passes, do not print 'core' or 'final' in
log messages. We already print it in step messages.

Also, as we use the core backend to build the bare-metal final gcc,
it can be disturbing to read 'core' while we're in fact in 'final'.

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

2012-11-26cc/gcc: add patch for 4.7.2
Richard Braun <rbraun@sceen.net> [Mon, 26 Nov 2012 11:44:01 +0100] rev 3132
cc/gcc: add patch for 4.7.2

This patch fixes compilation of gcc when C++ is enabled and MMX is
available, but not SSE/SSE2/AVX.

Signed-off-by: Richard Braun <rbraun@sceen.net>
Message-Id: <20121126105642.GA12098@mail.sceen.net>
Patchwork-Id: 201648

2012-11-22cc: add a flag for skipping core passes
Yann Diorcet <diorcet.yann@gmail.com> [Thu, 22 Nov 2012 23:56:58 +0100] rev 3131
cc: add a flag for skipping core passes

It is used for skipping unnecessary compilation steps when the libc
doesn't need to be compiled (eg. when we do not use a C library).

Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com>
Message-Id: <150eadb0117e697d79aa.1353625025@blackmint>
Patchwork-Id: 201222

2012-11-22scripts/functions: fix debug-shell 1.17
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 22 Nov 2012 19:43:26 +0100] rev 3130
scripts/functions: fix debug-shell

Properly catch resuming the build when continuing past the
failed command.

The 'case ;;&' construct is a bash4ism. Get rid of it.

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

2012-11-20scripts: fail on ':' in paths 1.17
Daniel Price <daniel.price@gmail.com> [Tue, 20 Nov 2012 16:59:17 -0800] rev 3129
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
(transplanted from 15cd5dc25929d0ccd0e1f187fe721a1ca0d48919)

2012-11-19scripts: unquoted variable reference in glibc-eglibc.sh-common 1.17
Daniel Price <daniel.price@gmail.com> [Mon, 19 Nov 2012 15:20:13 -0800] rev 3128
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
(transplanted from 51160d293e1fdbd69305310d3b34aa0054ce2399)

2012-11-22scripts/functions: fix debug-shell
"Yann E. MORIN" <yann.morin.1998@free.fr> [Thu, 22 Nov 2012 19:43:26 +0100] rev 3127
scripts/functions: fix debug-shell

Properly catch resuming the build when continuing past the
failed command.

The 'case ;;&' construct is a bash4ism. Get rid of it.

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

2012-11-20scripts: refine static linking check to better guide the user
Daniel Price <daniel.price@gmail.com> [Tue, 20 Nov 2012 16:59:17 -0800] rev 3126
scripts: refine static linking check to better guide the user

The current mechanism to check if static linking is possible, and the mesage
displayed on failure, can be puzzling to the unsuspecting user.

Also, the current implementation is not using the existing infrastructure,
and is thus difficult to enhance with new tests.

So, switch to using the standard CT_DoExecLog infra, and use four tests to
check for the host compiler:
- check we can run it
- check it can build a trivial program
- check it can statically link that program
- check if it statically link with libstdc++

That should cover most of the problems. Hopefully.

(At the same time, fix a typo in a comment)

Signed-off-by: Daniel Price <daniel.price@gmail.com>
[yann.morin.1998@free.fr: split original patch for self-contained changes]
[yann.morin.1998@free.fr: use steps to better see gcc's output]
[yann.morin.1998@free.fr: commit log]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <163f86b5216fc08c672a.1353459722@nipigon.dssd.com>
Patchwork-Id: 200536

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>