config/arch/sh.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jan 17 23:06:02 2010 +0100 (2010-01-17)
changeset 1740 c57458bb354d
parent 1345 27fec561af53
child 1782 5eda3399a797
permissions -rw-r--r--
configure: do not require hg when configuring in an hg clone

When configuring in an hg clone, we need hg to compute the version string.
It can happen that users do not have Mercurial (eg. if they got a snapshot
rather that they did a full clone). In this case, we can still run, of
course, so simply fill the version string with a sufficiently explicit
value, that does not require hg. The date is a good candidate.
     1 # Super-H specific configuration file
     2 # depends on EXPERIMENTAL
     3 
     4 config ARCH_sh
     5     select ARCH_SUPPORTS_32
     6     select ARCH_DEFAULT_32
     7     select ARCH_USE_MMU
     8     select ARCH_SUPPORTS_BOTH_ENDIAN
     9     select ARCH_DEFAULT_LE
    10     help
    11       The Super-H architecture, as defined by:
    12         http://www.renesas.com/fmwk.jsp?cnt=superh_family_landing.jsp&fp=/products/mpumcu/superh_family/
    13 
    14 choice
    15     bool
    16     prompt "Variant"
    17 
    18 config ARCH_SH_SH3
    19     bool
    20     prompt "sh3"
    21 
    22 config ARCH_SH_SH4
    23     bool
    24     prompt "sh4"
    25 
    26 config ARCH_SH_SH4A
    27     bool
    28     prompt "sh4a"
    29 
    30 endchoice
    31 
    32 config ARCH_SH_VARIANT
    33     string
    34     default "sh3"   if ARCH_SH_SH3
    35     default "sh4"   if ARCH_SH_SH4
    36     default "sh4a"  if ARCH_SH_SH4A