config/arch/arm.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jan 23 18:41:59 2010 +0100 (2010-01-23)
changeset 1748 54bbdbf316f3
parent 1597 fa8f3ab724f9
child 2111 5f4dbeb370e1
permissions -rw-r--r--
libc/uclibc: use CT_ARCH, in place of CT_KERNEL_ARCH

Since we merged the 32/64-bit archs, and we explicitly used
the Linux kernel arch name, we can get rid of CT_KERNEL_ARCH.
     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