config/arch/sh.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Mar 22 23:04:57 2009 +0000 (2009-03-22)
branchnewlib
changeset 1361 7f00c31a3235
parent 903 9fb0f81b4416
child 1345 27fec561af53
permissions -rw-r--r--
Allow broader dependency in generated config files:
- recognise '^# depends on ' pattern in config files
- use that pattern to generate appropriate dependency rules
- convert users of the old pattern to the new one

/branches/newlib/config/libc/eglibc.in | 2 1 1 0 +-
/branches/newlib/config/config.mk | 20 8 12 0 ++++++++------------
/branches/newlib/config/arch/sh.in | 2 1 1 0 +-
/branches/newlib/config/arch/ia64.in | 2 1 1 0 +-
/branches/newlib/config/arch/powerpc64.in | 2 1 1 0 +-
5 files changed, 12 insertions(+), 16 deletions(-)
     1 # Super-H specific configuration file
     2 # depends on 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