arch/sh/config.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Aug 07 13:28:02 2008 +0000 (2008-08-07)
changeset 763 f078be5961ec
parent 628 87802cb25a0f
child 891 4d770d1f65a0
permissions -rw-r--r--
Fix building core C compiler.
PowerPC unveiled that you can't reliably build a target libgcc until you have C library headers.
In fact you can't build it at all. The fact that it did build for some architectures was purely coincidental, and a mistake.
This fix should still allow to build uClibc-based toolchains (some ARM uClibc toolchains were build-tested).

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