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