patches/binutils/2.22/120-sh-conf.patch
author David Holsgrove <david.holsgrove@xilinx.com>
Thu Oct 04 13:26:14 2012 +1000 (2012-10-04)
changeset 3075 aadd4647dd91
permissions -rw-r--r--
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
     1 r10231 | lethal | 2005-05-02 09:58:00 -0400 (Mon, 02 May 2005) | 13 lines
     2 
     3 Likewise, binutils has no idea about any of these new targets either, so we 
     4 fix that up too.. now we're able to actually build a real toolchain for 
     5 sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more 
     6 inept targets than that one, really. Go look, I promise).
     7 
     8 diff -durN binutils-2.22.orig/configure binutils-2.22/configure
     9 --- binutils-2.22.orig/configure	2011-08-14 14:28:15.000000000 +0200
    10 +++ binutils-2.22/configure	2011-12-14 19:49:40.284777434 +0100
    11 @@ -3570,7 +3570,7 @@
    12    mips*-*-*)
    13      noconfigdirs="$noconfigdirs gprof"
    14      ;;
    15 -  sh-*-* | sh64-*-*)
    16 +  sh*-*-* | sh64-*-*)
    17      case "${target}" in
    18        sh*-*-elf)
    19           ;;
    20 diff -durN binutils-2.22.orig/configure.ac binutils-2.22/configure.ac
    21 --- binutils-2.22.orig/configure.ac	2011-11-21 12:58:27.000000000 +0100
    22 +++ binutils-2.22/configure.ac	2011-12-14 19:49:40.316777436 +0100
    23 @@ -1006,7 +1006,7 @@
    24    mips*-*-*)
    25      noconfigdirs="$noconfigdirs gprof"
    26      ;;
    27 -  sh-*-* | sh64-*-*)
    28 +  sh*-*-* | sh64-*-*)
    29      case "${target}" in
    30        sh*-*-elf)
    31           ;;