2011-09-29config: add a 'auto' value for the number of parallel jobs
Michael Hope <michael.hope@linaro.org> [Thu, 29 Sep 2011 12:40:42 +1300] rev 2695
config: add a 'auto' value for the number of parallel jobs

When CT_PARALLEL_JOBS is -1, set the number of parallel jobs to the
number of online CPUs + 1. Update documentation to match.

I find this useful when building in the cloud. You can use the same
.config file and have the build adapt to the number of processors
available. Limited testing shows that NCPUS+1 is faster than NCPUS+0
or NCPUS+2.

Signed-off-by: Michael Hope <michael.hope@linaro.org>

2011-09-29Makefile: use phony targets
Michael Hope <michael.hope@linaro.org> [Thu, 29 Sep 2011 12:27:54 +1300] rev 2694
Makefile: use phony targets

Add 'build', 'build-*', and 'install' as phony targets to the top level
Makefile.

I tend to do everything in tree with the build in a directory called
'build'. This interfered with the target 'build', making it think the
target was up to date, and stopping scripts/crosstool-NG.sh from being
regenerated.

Added 'install' as I often set the prefix to $PWD/install.

Signed-off-by: Michael Hope <michael.hope@linaro.org>

2011-10-04libc/glibc: spelling fixes in the menuconfig help entries
Michael Hope <michael.hope@linaro.org> [Tue, 04 Oct 2011 10:30:54 +1300] rev 2693
libc/glibc: spelling fixes in the menuconfig help entries

nits:
- fix the spelling of changing.
- 'chose' is the correct past tense.

Signed-off-by: Michael Hope <michael.hope@linaro.org>

2011-09-28debug/gdb: update to the Linaro 2011.09
Michael Hope <michael.hope@linaro.org> [Wed, 28 Sep 2011 15:28:23 +1300] rev 2692
debug/gdb: update to the Linaro 2011.09

Signed-off-by: Michael Hope <michael.hope@linaro.org>
[yann.morin.1998@anciens.enib.fr: split gcc/gdb in two patches]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-09-28cc/gcc: update to the Linaro 2011.09
Michael Hope <michael.hope@linaro.org> [Wed, 28 Sep 2011 15:28:23 +1300] rev 2691
cc/gcc: update to the Linaro 2011.09

Signed-off-by: Michael Hope <michael.hope@linaro.org>
[yann.morin.1998@anciens.enib.fr: split gcc/gdb in two patches]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-09-26kernel/linux: prepare for 3.1 and above
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 26 Sep 2011 22:59:14 +0200] rev 2690
kernel/linux: prepare for 3.1 and above

The real upstream location is not in the '3.0' directory, but
in the '3.x' directory.

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

2011-09-25samples: add new mipsel-sde-elf sample.
Kevin Cernekee <cernekee@gmail.com> [Sun, 25 Sep 2011 15:21:29 -0700] rev 2689
samples: add new mipsel-sde-elf sample.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
[yann.morin.1998@anciens.enib.fr: add pointer to ML thread]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-09-241.12: update version to 1.12.3+hg 1.12
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 24 Sep 2011 22:08:46 +0200] rev 2688
1.12: update version to 1.12.3+hg

2011-09-24Tagging release 1.12.3 1.12
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 24 Sep 2011 22:08:46 +0200] rev 2687
Tagging release 1.12.3

2011-09-241.12: update version to 1.12.3 1.12 crosstool-ng-1.12.3
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 24 Sep 2011 22:08:46 +0200] rev 2686
1.12: update version to 1.12.3

2011-09-21kernel/linux: add alternate download locations 1.12
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 21 Sep 2011 22:42:35 +0200] rev 2685
kernel/linux: add alternate download locations

Since kernel.org is dead, and there is no announced or known estimated
time or return to normality, it is impossible to download any kernel at
this time.

Add a known-working mirror.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 7df89370f80537d1b36b2fda70e3a1c6bc237a65)

2011-09-16docs/known-issues: add the infamous "mixed implicit and normal rules" 1.12
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 16 Sep 2011 17:49:28 +0200] rev 2684
docs/known-issues: add the infamous "mixed implicit and normal rules"

make-3.82 now refuses to have both normal and implicit rules in the
same definition, so document the issue with a known workaround.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 8a612563c04c633c675146dd3478f7ee10ec2733)

2011-09-11binutils/binutils: fixup version strings 1.12
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 11 Sep 2011 18:18:53 +0200] rev 2683
binutils/binutils: fixup version strings

Recently, all binutils versions have been renamed after a GPL compliance
issue was found and fixed in binutils;
http://sourceware.org/ml/binutils/2011-08/msg00198.html

Although legacy symlinks have been put in place, we should now use
the new, real version strings.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 346263a0711510a7ac953b1523b6607a1ca53caf)

2011-09-11binutils/binutils: fixup version strings 1.12
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 11 Sep 2011 18:26:12 +0200] rev 2682
binutils/binutils: fixup version strings

Recently, all binutils versions have been renamed after a GPL compliance
issue was found and fixed in binutils;
http://sourceware.org/ml/binutils/2011-08/msg00198.html

Old versions are no-longer available since the rename (eg. 2.19 has been
superseeded by 2.19.1, and only 2.19.1a was regenerated).

Remove now-missing versions.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 7179903f8d2ea15f1dc2606fdb1fb595002f87d7)

2011-09-11debug/gdb: rename patch directories 1.12
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 11 Sep 2011 18:28:45 +0200] rev 2681
debug/gdb: rename patch directories

Missed renaming the patch directories after the version renames... :-(

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from e7266674d492f0c056c79dc45a53b665199ba93c)

2011-09-22kernel/linux: use a custom kernel source directory
Sinseman44 <sinseman44@gmail.com> [Thu, 22 Sep 2011 22:49:38 +0200] rev 2680
kernel/linux: use a custom kernel source directory

Allows using either a tarball or a directory as the custom kernel
source location.

Signed-off-by: Vincent BENOIT <sinseman44@gmail.com>
[yann.morin.1998@anciens.enib.fr: fix space damage, detailed commit message]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-09-241.11: close branch 1.11
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 24 Sep 2011 21:47:47 +0200] rev 2679
1.11: close branch

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

2011-09-241.10: close branch 1.10
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 24 Sep 2011 21:47:28 +0200] rev 2678
1.10: close branch

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

2011-09-21kernel/linux: add alternate download locations
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 21 Sep 2011 22:42:35 +0200] rev 2677
kernel/linux: add alternate download locations

Since kernel.org is dead, and there is no announced or known estimated
time or return to normality, it is impossible to download any kernel at
this time.

Add a known-working mirror.

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

2011-09-14cc/gcc: speed up the build a little bit
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 14 Sep 2011 12:59:17 +0200] rev 2676
cc/gcc: speed up the build a little bit

Even if the current process is highly parallel, crosstool-NG spends most
of its time in single-job steps on fast machines (with a 12-CPU system,
I approximate the parallel vs. non-parallel time to be in the order os
1 to 3; that is crostool-NG spends two-thirds of its time running
non-parallel jobs).

Some steps to build gcc can be paralleled, gaining a litle bit of time
on the whole compilation.

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

2011-09-17gcc: add support for the PowerPC EABI
Mircea Gherzan <mgherzan@gmail.com> [Sat, 17 Sep 2011 14:30:52 +0200] rev 2675
gcc: add support for the PowerPC EABI

Signed-off-by: Mircea Gherzan <mgherzan@gmail.com>
[yann.morin.1998@anciens.enib.fr: rm trailing space]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-09-16docs/known-issues: add the infamous "mixed implicit and normal rules"
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 16 Sep 2011 17:49:28 +0200] rev 2674
docs/known-issues: add the infamous "mixed implicit and normal rules"

make-3.82 now refuses to have both normal and implicit rules in the
same definition, so document the issue with a known workaround.

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

2011-09-13samples: update this ARM sample.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 13 Sep 2011 00:15:45 +0200] rev 2673
samples: update this ARM sample.

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

2011-08-31cc/gcc: libgcc_eh.a may be required, even from the stage-1 compiler
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 31 Aug 2011 16:47:42 +0200] rev 2672
cc/gcc: libgcc_eh.a may be required, even from the stage-1 compiler

Building uClibc with libubacktrace requires libgcc_eh.a to be available,
but gcc does not build it unless it is configured to generate shared libs.

However, libgcc_eh.a does not *require* shared libs support, as it is a
static library.

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

2011-09-12cc/gcc: propagate 4.5.2 patchset to 4.5.3
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 12 Sep 2011 18:12:52 +0200] rev 2671
cc/gcc: propagate 4.5.2 patchset to 4.5.3

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

2011-09-02cc/gcc: propagate 4.3.5 patchset to 4.3.6
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 02 Sep 2011 13:45:05 +0200] rev 2670
cc/gcc: propagate 4.3.5 patchset to 4.3.6

They applied cleanly with only offsets

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

2011-08-31libc/uClibc: add patch to fix fork in threads with ARM EABI
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 31 Aug 2011 11:00:35 +0200] rev 2669
libc/uClibc: add patch to fix fork in threads with ARM EABI

uClibc-0.9.32 requires libgcc_eh.a (for ARM EABI), but only when libubacktrace
is enabled. As this is not the default, provide a workaround to disable linking
with libgcc_eh.a if libubacktrace is not selected.

This will however still break if uClibc is configured to enable libubacktrace,
but it requires a fix in gcc, and we can take care of that later.

Reported-by: Grant Edwards <grant.b.edwards@gmail.com>
Reported-by: Tor Krill <tor@codeknot.com>
Tested-by: Tor Krill <tor@codeknot.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-09-12samples: update that mips sample
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 12 Sep 2011 12:54:45 +0200] rev 2668
samples: update that mips sample

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

2011-09-12libc/uClibc: workaround for a MIPS TLS issue
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 12 Sep 2011 14:09:31 +0200] rev 2667
libc/uClibc: workaround for a MIPS TLS issue

Some macros declarations were missing, so we duplicate them.
See the added patch description for more information.

----> THIS IS A DIRTY HACK! <----

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

2011-09-12libc/uClibc: enable NPTL choice for uClibc >= 0.9.32
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 12 Sep 2011 02:37:29 +0200] rev 2666
libc/uClibc: enable NPTL choice for uClibc >= 0.9.32

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