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