config/arch/sh.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Jul 28 23:55:10 2010 +0200 (2010-07-28)
changeset 2043 efb1058baa31
parent 1716 6bbf206a5b57
child 2114 b1d27d43a825
permissions -rw-r--r--
cc/gcc: add option to enable/disable libmudflap

For some scenarii, libmudflap is not very usefull
or can break the build. Make in an optioon that
defaults to 'N' to be on the safe side.

For the core gcc-s, there is absolutely no need
to build libmidflap.

Idea from: Bernhard Pfund <bernhard@chapter7.ch>
     1 # Super-H specific configuration file
     2 
     3 config ARCH_sh
     4     select ARCH_SUPPORTS_32
     5     select ARCH_DEFAULT_32
     6     select ARCH_USE_MMU
     7     select ARCH_SUPPORTS_BOTH_ENDIAN
     8     select ARCH_DEFAULT_LE
     9     help
    10       The Super-H architecture, as defined by:
    11         http://www.renesas.com/fmwk.jsp?cnt=superh_family_landing.jsp&fp=/products/mpumcu/superh_family/
    12 
    13 choice
    14     bool
    15     prompt "Variant"
    16 
    17 config ARCH_SH_SH3
    18     bool
    19     prompt "sh3"
    20 
    21 config ARCH_SH_SH4
    22     bool
    23     prompt "sh4"
    24 
    25 config ARCH_SH_SH4A
    26     bool
    27     prompt "sh4a"
    28 
    29 endchoice
    30 
    31 config ARCH_SH_VARIANT
    32     string
    33     default "sh3"   if ARCH_SH_SH3
    34     default "sh4"   if ARCH_SH_SH4
    35     default "sh4a"  if ARCH_SH_SH4A