config/arch/sh.in
author Titus von Boxberg <titus@v9g.de>
Sat May 22 22:01:18 2010 +0200 (2010-05-22)
changeset 1970 cdd761ad2d1a
parent 1716 6bbf206a5b57
child 2114 b1d27d43a825
permissions -rw-r--r--
scripts/build/internals.sh: compile wrapper with portable options.

static linking is not possible on MacOS, and unnessecary on other systems.
The old optimization and warning flags crash the gcc on MacOS
and (imho) are a bit overdone for this software.
     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