config/arch/arm.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 1597 fa8f3ab724f9
child 2111 5f4dbeb370e1
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 # ARM specific configuration file
     2 
     3 config ARCH_arm
     4     select ARCH_SUPPORTS_32
     5     select ARCH_DEFAULT_32
     6     select ARCH_SUPPORTS_BOTH_MMU
     7     select ARCH_DEFAULT_HAS_MMU
     8     select ARCH_SUPPORTS_BOTH_ENDIAN
     9     select ARCH_DEFAULT_LE
    10     select ARCH_SUPPORT_ARCH
    11     select ARCH_SUPPORT_CPU
    12     select ARCH_SUPPORT_TUNE
    13     select ARCH_SUPPORT_FPU
    14     help
    15       The ARM architecture, as defined by:
    16         http://www.arm.com/
    17 
    18 config ARCH_ARM_MODE
    19     string
    20     default "arm"   if ARCH_ARM_MODE_ARM
    21     default "thumb" if ARCH_ARM_MODE_THUMB
    22 
    23 choice
    24     bool
    25     prompt "Default instruction set mode"
    26     default ARCH_ARM_MODE_ARM
    27 
    28 config ARCH_ARM_MODE_ARM
    29     bool
    30     prompt "arm"
    31     help
    32       Defaults to emitting instructions in the ARM mode.
    33 
    34 config ARCH_ARM_MODE_THUMB
    35     bool
    36     prompt "thumb (EXPERIMENTAL)"
    37     depends on EXPERIMENTAL
    38     help
    39       Defaults to emitting instructions in the THUMB mode.
    40 
    41 endchoice
    42 
    43 config ARCH_ARM_INTERWORKING
    44     bool
    45     prompt "Use Thumb-interworking (READ HELP)"
    46     default n
    47     depends on EXPERIMENTAL
    48     help
    49       Excerpt from the gcc manual:
    50       
    51       > Generate code which supports calling between the ARM and Thumb
    52       > instruction sets. Without this option the two instruction sets
    53       > cannot be reliably used inside one program. The default is
    54       > [not to use interwork], since slightly larger code is generated
    55       > when [interwork] is specified.
    56 
    57 config ARCH_ARM_EABI
    58     bool
    59     prompt "Use EABI"
    60     default y
    61     help
    62       Set up the toolchain so that it generates EABI-compliant binaries.
    63 
    64 config ARCH_ARM_ABI_OK
    65     bool
    66     default y
    67     depends on ! ARCH_ARM_EABI
    68     select ARCH_SUPPORT_ABI