From 4ae10919c1bf696d36448c082a492e6c49ef93c8 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sat, 11 Sep 2010 12:42:22 +0200 Subject: arch/arm: move config-options to second-part Signed-off-by: "Yann E. MORIN" diff --git a/config/arch/arm.in b/config/arch/arm.in index 4883d22..08bf89e 100644 --- a/config/arch/arm.in +++ b/config/arch/arm.in @@ -14,55 +14,3 @@ config ARCH_arm 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 --git a/config/arch/arm.in.2 b/config/arch/arm.in.2 new file mode 100644 index 0000000..945b221 --- /dev/null +++ b/config/arch/arm.in.2 @@ -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 -- cgit v0.10.2-6-g49f6