ARM: detect BX availibility at build time
[uclibc-ng.git] / extra / Configs / Config.arm
blob0bb2971a957e92b2833e61c1eb0fe075d54d063b
2 # For a description of the syntax of this configuration file,
3 # see extra/config/Kconfig-language.txt
6 config TARGET_ARCH
7 string
8 default "arm"
10 config FORCE_OPTIONS_FOR_ARCH
11 bool
12 default y
13 select ARCH_ANY_ENDIAN
15 config CONFIG_ARM_EABI
16 bool "Build for EABI"
17 help
18 If you say 'y' here, functions and constants required by the
19 ARM EABI will be built into the library. You should say 'y'
20 if your compiler uses the ARM EABI, in which case you will also
21 need a kernel supporting the EABI system call interface.
23 If you say 'n' here, then the library will be built for the
24 old Linux ABI.
26 config COMPILE_IN_THUMB_MODE
27 bool "Build using Thumb mode"
28 select USE_BX
29 help
30 Say 'y' here to force building uClibc in thumb mode.
31 Say 'n' to use your compiler's default mode.
33 config USE_BX
34 bool "Use BX in function return"
35 help
36 Say 'y' to use BX to return from functions on your thumb-aware
37 processor. Say 'y' if you need to use interworking. Say 'n' if not.
38 It is safe to say 'y' even if you're not doing interworking.