# HG changeset patch # User "Yann E. MORIN" # Date 1284201742 -7200 # Node ID 5f4dbeb370e194e0890b82c8942dbd30c6b5bbae # Parent ee9b54d04dd471f034caba022c896f7f82ba977b arch/arm: move config-options to second-part Signed-off-by: "Yann E. MORIN" diff -r ee9b54d04dd4 -r 5f4dbeb370e1 config/arch/arm.in --- a/config/arch/arm.in Sat Sep 11 12:38:12 2010 +0200 +++ b/config/arch/arm.in Sat Sep 11 12:42:22 2010 +0200 @@ -14,55 +14,3 @@ help The ARM architecture, as defined by: http://www.arm.com/ - -config ARCH_ARM_MODE - string - default "arm" if ARCH_ARM_MODE_ARM - default "thumb" if ARCH_ARM_MODE_THUMB - -choice - bool - prompt "Default instruction set mode" - default ARCH_ARM_MODE_ARM - -config ARCH_ARM_MODE_ARM - bool - prompt "arm" - help - Defaults to emitting instructions in the ARM mode. - -config ARCH_ARM_MODE_THUMB - bool - prompt "thumb (EXPERIMENTAL)" - depends on EXPERIMENTAL - help - Defaults to emitting instructions in the THUMB mode. - -endchoice - -config ARCH_ARM_INTERWORKING - bool - prompt "Use Thumb-interworking (READ HELP)" - default n - depends on EXPERIMENTAL - help - Excerpt from the gcc manual: - - > Generate code which supports calling between the ARM and Thumb - > instruction sets. Without this option the two instruction sets - > cannot be reliably used inside one program. The default is - > [not to use interwork], since slightly larger code is generated - > when [interwork] is specified. - -config ARCH_ARM_EABI - bool - prompt "Use EABI" - default y - help - Set up the toolchain so that it generates EABI-compliant binaries. - -config ARCH_ARM_ABI_OK - bool - default y - depends on ! ARCH_ARM_EABI - select ARCH_SUPPORT_ABI diff -r ee9b54d04dd4 -r 5f4dbeb370e1 config/arch/arm.in.2 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config/arch/arm.in.2 Sat Sep 11 12:42:22 2010 +0200 @@ -0,0 +1,53 @@ +# ARM specific configuration file + +config ARCH_ARM_MODE + string + default "arm" if ARCH_ARM_MODE_ARM + default "thumb" if ARCH_ARM_MODE_THUMB + +choice + bool + prompt "Default instruction set mode" + default ARCH_ARM_MODE_ARM + +config ARCH_ARM_MODE_ARM + bool + prompt "arm" + help + Defaults to emitting instructions in the ARM mode. + +config ARCH_ARM_MODE_THUMB + bool + prompt "thumb (EXPERIMENTAL)" + depends on EXPERIMENTAL + help + Defaults to emitting instructions in the THUMB mode. + +endchoice + +config ARCH_ARM_INTERWORKING + bool + prompt "Use Thumb-interworking (READ HELP)" + default n + depends on EXPERIMENTAL + help + Excerpt from the gcc manual: + + > Generate code which supports calling between the ARM and Thumb + > instruction sets. Without this option the two instruction sets + > cannot be reliably used inside one program. The default is + > [not to use interwork], since slightly larger code is generated + > when [interwork] is specified. + +config ARCH_ARM_EABI + bool + prompt "Use EABI" + default y + help + Set up the toolchain so that it generates EABI-compliant binaries. + +config ARCH_ARM_ABI_OK + bool + default y + depends on ! ARCH_ARM_EABI + select ARCH_SUPPORT_ABI