2008-06-27 13:58:53 +00:00
|
|
|
# ARM specific configuration file
|
|
|
|
|
|
|
|
config ARCH_arm
|
2010-01-09 14:52:06 +00:00
|
|
|
select ARCH_SUPPORTS_32
|
|
|
|
select ARCH_DEFAULT_32
|
2009-10-21 16:22:05 +00:00
|
|
|
select ARCH_SUPPORTS_BOTH_MMU
|
|
|
|
select ARCH_DEFAULT_HAS_MMU
|
2008-06-27 13:58:53 +00:00
|
|
|
select ARCH_SUPPORTS_BOTH_ENDIAN
|
|
|
|
select ARCH_DEFAULT_LE
|
2008-06-27 15:08:43 +00:00
|
|
|
select ARCH_SUPPORT_ARCH
|
|
|
|
select ARCH_SUPPORT_CPU
|
|
|
|
select ARCH_SUPPORT_TUNE
|
|
|
|
select ARCH_SUPPORT_FPU
|
2008-06-27 14:55:22 +00:00
|
|
|
help
|
|
|
|
The ARM architecture, as defined by:
|
|
|
|
http://www.arm.com/
|
2007-09-14 21:31:00 +00:00
|
|
|
|
2009-10-26 08:10:38 +00:00
|
|
|
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
|
|
|
|
|
2009-10-26 22:11:10 +00:00
|
|
|
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.
|
|
|
|
|
2007-09-14 21:31:00 +00:00
|
|
|
config ARCH_ARM_EABI
|
|
|
|
bool
|
2008-09-02 16:48:38 +00:00
|
|
|
prompt "Use EABI"
|
2009-10-21 16:08:31 +00:00
|
|
|
default y
|
2007-09-14 21:31:00 +00:00
|
|
|
help
|
|
|
|
Set up the toolchain so that it generates EABI-compliant binaries.
|
2008-05-14 17:59:52 +00:00
|
|
|
|
2008-09-01 17:54:39 +00:00
|
|
|
config ARCH_ARM_ABI_OK
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
depends on ! ARCH_ARM_EABI
|
|
|
|
select ARCH_SUPPORT_ABI
|