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