dddd0a0e4f5b11a4887cd8e068109cb87fd461e9
[openwrt.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 diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm
16 index b060ace..3b90e67 100644
17 --- a/extra/Configs/Config.arm
18 +++ b/extra/Configs/Config.arm
19 @@ -30,13 +30,6 @@ config CONFIG_ARM_EABI
20  
21  endchoice
22  
23 -config USE_BX
24 -       bool "Use BX in function return"
25 -       default y
26 -       depends on !CONFIG_GENERIC_ARM && !CONFIG_ARM610 && !CONFIG_ARM710
27 -       help
28 -         Use BX instruction for THUMB aware architectures.
29 -
30  choice
31         prompt "Target Processor Type"
32         default CONFIG_GENERIC_ARM
33 @@ -131,3 +124,10 @@ config CONFIG_ARM_IWMMXT
34         select ARCH_HAS_MMU
35  
36  endchoice
37 +
38 +config USE_BX
39 +       bool "Use BX in function return"
40 +       default y
41 +       depends on !CONFIG_GENERIC_ARM && !CONFIG_ARM610 && !CONFIG_ARM710
42 +       help
43 +         Use BX instruction for THUMB aware architectures.
44 -- 
45 1.7.1
46