only export GCC_HONOUR_COPTS for the built-in toolchain, fixes missing-fhonour-copts...
[librecmc/librecmc.git] / toolchain / uClibc / patches-0.9.32 / 900-reorder_use_bx.patch
1 "Use BX" is not available on all CPUs, so the option depends on
2 a correct CPU to be chosen . It is weird that e BX" then appears
3 _above_ the CPU selection, not below.
4
5 Move the "Use BX" after the CPU selection.
6
7 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
8 Cc: Khem Raj <raj.khem@gmail.com>
9 Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
10 Cc: Carmelo AMOROSO <carmelo.amoroso@st.com>
11 ---
12  extra/Configs/Config.arm |   14 +++++++-------
13  1 files changed, 7 insertions(+), 7 deletions(-)
14
15 --- a/extra/Configs/Config.arm
16 +++ b/extra/Configs/Config.arm
17 @@ -30,13 +30,6 @@ config CONFIG_ARM_EABI
18  
19  endchoice
20  
21 -config USE_BX
22 -       bool "Use BX in function return"
23 -       default y
24 -       depends on !CONFIG_GENERIC_ARM && !CONFIG_ARM610 && !CONFIG_ARM710
25 -       help
26 -         Use BX instruction for THUMB aware architectures.
27 -
28  choice
29         prompt "Target Processor Type"
30         default CONFIG_GENERIC_ARM
31 @@ -131,3 +124,10 @@ config CONFIG_ARM_IWMMXT
32         select ARCH_HAS_MMU
33  
34  endchoice
35 +
36 +config USE_BX
37 +       bool "Use BX in function return"
38 +       default y
39 +       depends on !CONFIG_GENERIC_ARM && !CONFIG_ARM610 && !CONFIG_ARM710
40 +       help
41 +         Use BX instruction for THUMB aware architectures.