config/arch/alpha.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 2113 917c353f30dc
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 # Alpha specific configuration file
     2 
     3 config ARCH_alpha
     4     select ARCH_SUPPORTS_32
     5     select ARCH_DEFAULT_32
     6     select ARCH_USE_MMU
     7     select ARCH_SUPPORT_CPU
     8     select ARCH_SUPPORT_TUNE
     9     help
    10       The Alpha architecture.
    11 
    12 choice
    13     bool
    14     prompt "Variant"
    15 
    16 config ARCH_ALPHA_EV4
    17     bool
    18     prompt "EV4"
    19 
    20 config ARCH_ALPHA_EV45
    21     bool
    22     prompt "EV45"
    23 
    24 config ARCH_ALPHA_EV5
    25     bool
    26     prompt "EV5"
    27 
    28 config ARCH_ALPHA_EV56
    29     bool
    30     prompt "EV56"
    31 
    32 config ARCH_ALPHA_EV6
    33     bool
    34     prompt "EV6"
    35 
    36 config ARCH_ALPHA_EV67
    37     bool
    38     prompt "EV67"
    39 
    40 endchoice
    41 
    42 config ARCH_ALPHA_VARIANT
    43     string
    44     default "ev4"   if ARCH_ALPHA_EV4
    45     default "ev45"  if ARCH_ALPHA_EV45
    46     default "ev5"   if ARCH_ALPHA_EV5
    47     default "ev56"  if ARCH_ALPHA_EV56
    48     default "ev6"   if ARCH_ALPHA_EV6
    49     default "ev67"  if ARCH_ALPHA_EV67
    50 
    51 config ARCH_CPU
    52     default "ev4"   if ARCH_ALPHA_EV4
    53     default "ev45"  if ARCH_ALPHA_EV45
    54     default "ev5"   if ARCH_ALPHA_EV5
    55     default "ev56"  if ARCH_ALPHA_EV56
    56     default "ev6"   if ARCH_ALPHA_EV6
    57     default "ev67"  if ARCH_ALPHA_EV67
    58 
    59 config ARCH_TUNE
    60     default "ev4"   if ARCH_ALPHA_EV4
    61     default "ev45"  if ARCH_ALPHA_EV45
    62     default "ev5"   if ARCH_ALPHA_EV5
    63     default "ev56"  if ARCH_ALPHA_EV56
    64     default "ev6"   if ARCH_ALPHA_EV6
    65     default "ev67"  if ARCH_ALPHA_EV67