config/arch/sh.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Nov 28 23:31:02 2008 +0000 (2008-11-28)
changeset 1082 cfdaef41cd77
parent 898 fe3eda71a9d0
child 1269 17e37102a037
permissions -rw-r--r--
Canonicalise CT_BUILD and CT_HOST:

- Not only will it give us full-qualified tuples, but it will also ensure
that they are valid tuples (in case of typo with user-provided tuples)
That's way better than trying to rewrite config.sub ourselves...
- use CT_BUILD_PREFIX and CT_BUILD_SUFFIX to call "gcc -dumpmachine"

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