fb13cde13c45bd4792f246f9c2c8103a1f853134
[openwrt/openwrt.git] / toolchain / uClibc / patches-0.9.32 / 930-transform_eabi_oabi_choice.patch
1 The CONFIG_ARM_OABI option is never used.
2
3 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
4 Cc: Khem Raj <raj.khem@gmail.com>
5 Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
6 Cc: Carmelo AMOROSO <carmelo.amoroso@st.com>
7 ---
8 extra/Configs/Config.arm | 23 ++++++++---------------
9 1 files changed, 8 insertions(+), 15 deletions(-)
10
11 --- a/extra/Configs/Config.arm
12 +++ b/extra/Configs/Config.arm
13 @@ -12,23 +12,16 @@ config FORCE_OPTIONS_FOR_ARCH
14 default y
15 select ARCH_ANY_ENDIAN
16
17 -choice
18 - prompt "Target ABI"
19 - default CONFIG_ARM_EABI
20 +config CONFIG_ARM_EABI
21 + bool "Build for EABI"
22 help
23 - If you choose "EABI" here, functions and constants required by the
24 - ARM EABI will be built into the library. You should choose "EABI"
25 + If you say 'y' here, functions and constants required by the
26 + ARM EABI will be built into the library. You should say 'y'
27 if your compiler uses the ARM EABI, in which case you will also
28 - need a kernel supporting the EABI system call interface, or "OABI"
29 - for a compiler using the old Linux ABI.
30 -
31 -config CONFIG_ARM_OABI
32 - bool "OABI"
33 -
34 -config CONFIG_ARM_EABI
35 - bool "EABI"
36 -
37 -endchoice
38 + need a kernel supporting the EABI system call interface.
39 +
40 + If you say 'n' here, then the library will be built for the
41 + old Linux ABI.
42
43 config COMPILE_IN_THUMB_MODE
44 bool "Build using Thumb mode"