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