config/arch/arm.in.2
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Apr 06 22:30:57 2011 +0200 (2011-04-06)
changeset 2381 0ca0f85a4b2a
parent 1716 6bbf206a5b57
child 2484 d1a8c2ae7946
permissions -rw-r--r--
complibs: disable building shared libs

Managing the shared version of the companion libraries
has become cumbersome.

Also, it will one day be possible to use the companion
libraries from the host distribution, and then we will
be able to easily use either shared or static libs.

As a side note, while working on the canadian-rework
series, it has become quite more complex to properly
handle shared companion libraries, as they need to be
built both for the build and gost systems. That's not
easy to handle. At all.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 # ARM specific configuration file
     2 
     3 config ARCH_ARM_MODE
     4     string
     5     default "arm"   if ARCH_ARM_MODE_ARM
     6     default "thumb" if ARCH_ARM_MODE_THUMB
     7 
     8 choice
     9     bool
    10     prompt "Default instruction set mode"
    11     default ARCH_ARM_MODE_ARM
    12 
    13 config ARCH_ARM_MODE_ARM
    14     bool
    15     prompt "arm"
    16     help
    17       Defaults to emitting instructions in the ARM mode.
    18 
    19 config ARCH_ARM_MODE_THUMB
    20     bool
    21     prompt "thumb (EXPERIMENTAL)"
    22     depends on EXPERIMENTAL
    23     help
    24       Defaults to emitting instructions in the THUMB mode.
    25 
    26 endchoice
    27 
    28 config ARCH_ARM_INTERWORKING
    29     bool
    30     prompt "Use Thumb-interworking (READ HELP)"
    31     default n
    32     depends on EXPERIMENTAL
    33     help
    34       Excerpt from the gcc manual:
    35       
    36       > Generate code which supports calling between the ARM and Thumb
    37       > instruction sets. Without this option the two instruction sets
    38       > cannot be reliably used inside one program. The default is
    39       > [not to use interwork], since slightly larger code is generated
    40       > when [interwork] is specified.
    41 
    42 config ARCH_ARM_EABI
    43     bool
    44     prompt "Use EABI"
    45     default y
    46     help
    47       Set up the toolchain so that it generates EABI-compliant binaries.
    48 
    49 config ARCH_ARM_ABI_OK
    50     bool
    51     default y
    52     depends on ! ARCH_ARM_EABI
    53     select ARCH_SUPPORT_ABI