[git commit] ARM: reorder "Use BX" option

Yann E. MORIN yann.morin.1998 at anciens.enib.fr
Sat Jun 11 07:30:20 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=0e5a44e8ccf1c5ac49c1319f74c296e875f290e2
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

"Use BX" is not available on all CPUs, so the option depends on
a correct CPU to be chosen . It is weird that e BX" then appears
_above_ the CPU selection, not below.

Move the "Use BX" after the CPU selection.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at anciens.enib.fr>
Cc: Khem Raj <raj.khem at gmail.com>
Cc: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
Cc: Carmelo AMOROSO <carmelo.amoroso at st.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 extra/Configs/Config.arm |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm
index eb27a33..dd63b80 100644
--- a/extra/Configs/Config.arm
+++ b/extra/Configs/Config.arm
@@ -30,13 +30,6 @@ config CONFIG_ARM_EABI
 
 endchoice
 
-config USE_BX
-	bool "Use BX in function return"
-	default y
-	depends on !CONFIG_GENERIC_ARM && !CONFIG_ARM610 && !CONFIG_ARM710
-	help
-	  Use BX instruction for THUMB aware architectures.
-
 choice
 	prompt "Target Processor Type"
 	default CONFIG_GENERIC_ARM
@@ -131,3 +124,10 @@ config CONFIG_ARM_IWMMXT
 	select ARCH_HAS_MMU
 
 endchoice
+
+config USE_BX
+	bool "Use BX in function return"
+	default y
+	depends on !CONFIG_GENERIC_ARM && !CONFIG_ARM610 && !CONFIG_ARM710
+	help
+	  Use BX instruction for THUMB aware architectures.
-- 
1.7.3.4



More information about the uClibc-cvs mailing list