arch/sh/config.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 27 16:35:37 2008 +0000 (2008-07-27)
changeset 740 d26d8cc7c460
parent 628 87802cb25a0f
child 891 4d770d1f65a0
permissions -rw-r--r--
Fix building x86_64 on x86_64 (and hopefully all other *64 archs on the same *64):
- symlink all lib64/ dirs to the corresponding lib/ dir
Also, prevent gcc from installing some of its target libs outside of the sys-root, in the first place.
Thanks to Laurent DUFRECHOU for reporting the bug and testing the fix.

/trunk/scripts/build/cc_gcc.sh | 26 0 26 0 --------------------------
/trunk/scripts/crosstool.sh | 14 14 0 0 ++++++++++++++
2 files changed, 14 insertions(+), 26 deletions(-)
yann@413
     1
# Super-H specific configuration file
yann@413
     2
yann@628
     3
config ARCH_sh
yann@628
     4
    select ARCH_SUPPORTS_BOTH_ENDIAN
yann@628
     5
    select ARCH_DEFAULT_LE
yann@630
     6
    help
yann@630
     7
      The Super-H architecture, as defined by:
yann@630
     8
        http://www.renesas.com/fmwk.jsp?cnt=superh_family_landing.jsp&fp=/products/mpumcu/superh_family/
yann@413
     9
yann@413
    10
choice
yann@413
    11
    bool
yann@413
    12
    prompt "Variant"
yann@413
    13
yann@413
    14
config ARCH_SH_SH3
yann@413
    15
    bool
yann@413
    16
    prompt "sh3"
yann@413
    17
yann@413
    18
config ARCH_SH_SH4
yann@413
    19
    bool
yann@413
    20
    prompt "sh4"
yann@413
    21
yann@413
    22
config ARCH_SH_SH4A
yann@413
    23
    bool
yann@413
    24
    prompt "sh4a"
yann@413
    25
yann@413
    26
endchoice
yann@413
    27
yann@413
    28
config ARCH_SH_VARIANT
yann@413
    29
    string
yann@413
    30
    default "sh3"   if ARCH_SH_SH3
yann@413
    31
    default "sh4"   if ARCH_SH_SH4
yann@413
    32
    default "sh4a"  if ARCH_SH_SH4A