Allow user to add a directory component in the sys-root path.
Rename CT_DEBUG_INSTALL_DIR to CT_DEBUGROOT_DIR (to match CT_SYSROOT_DIR).
As a side effect, fix creating lib64->lib symlinks.
/trunk/scripts/build/debug/100-dmalloc.sh | 2 1 1 0 +-
/trunk/scripts/build/debug/400-ltrace.sh | 2 1 1 0 +-
/trunk/scripts/build/debug/300-gdb.sh | 6 3 3 0 +++---
/trunk/scripts/build/debug/500-strace.sh | 2 1 1 0 +-
/trunk/scripts/build/debug/200-duma.sh | 6 3 3 0 +++---
/trunk/scripts/crosstool-NG.sh.in | 16 7 9 0 +++++++---------
/trunk/scripts/functions | 2 1 1 0 +-
/trunk/config/toolchain.in | 17 17 0 0 +++++++++++++++++
8 files changed, 34 insertions(+), 19 deletions(-)
1 Original patch from Gentoo:
2 gentoo/src/patchsets/binutils/2.19/12_all_sh-targets.patch
4 r10231 | lethal | 2005-05-02 09:58:00 -0400 (Mon, 02 May 2005) | 13 lines
6 Likewise, binutils has no idea about any of these new targets either, so we
7 fix that up too.. now we're able to actually build a real toolchain for
8 sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more
9 inept targets than that one, really. Go look, I promise).
11 diff -durN binutils-2.19.orig/configure binutils-2.19/configure
12 --- binutils-2.19.orig/configure 2008-11-23 16:23:44.000000000 +0100
13 +++ binutils-2.19/configure 2008-11-23 16:23:57.000000000 +0100
16 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
20 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
22 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
25 noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
30 i[3456789]86-*-vsta) ;; # don't add gprof back in
31 i[3456789]86-*-go32*) ;; # don't add gprof back in
32 diff -durN binutils-2.19.orig/configure.ac binutils-2.19/configure.ac
33 --- binutils-2.19.orig/configure.ac 2008-10-16 15:45:42.000000000 +0200
34 +++ binutils-2.19/configure.ac 2008-11-23 16:23:57.000000000 +0100
37 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
41 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
43 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
46 noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
51 i[[3456789]]86-*-vsta) ;; # don't add gprof back in
52 i[[3456789]]86-*-go32*) ;; # don't add gprof back in