2008-06-27 13:58:53 +00:00
|
|
|
# MIPS specific config options
|
|
|
|
|
2011-05-08 17:02:44 +00:00
|
|
|
## select ARCH_SUPPORTS_32
|
2015-11-02 22:14:38 +00:00
|
|
|
## select ARCH_SUPPORTS_64
|
2011-05-08 17:02:44 +00:00
|
|
|
## select ARCH_DEFAULT_32
|
|
|
|
## select ARCH_USE_MMU
|
|
|
|
## select ARCH_SUPPORTS_BOTH_ENDIAN
|
|
|
|
## select ARCH_DEFAULT_BE
|
2011-11-29 23:25:22 +00:00
|
|
|
## select ARCH_SUPPORTS_WITH_ARCH
|
|
|
|
## select ARCH_SUPPORTS_WITH_TUNE
|
2011-11-24 18:42:02 +00:00
|
|
|
## select ARCH_SUPPORTS_WITH_FLOAT
|
2017-07-05 02:19:42 +00:00
|
|
|
|
2011-05-08 17:02:44 +00:00
|
|
|
## help The MIPS architecture, as defined by:
|
|
|
|
## help http://www.mips.com/
|
2017-07-05 02:19:42 +00:00
|
|
|
|
|
|
|
choice
|
|
|
|
bool
|
|
|
|
prompt "ABI"
|
|
|
|
|
|
|
|
config ARCH_mips_o32
|
|
|
|
bool
|
|
|
|
prompt "o32"
|
|
|
|
depends on (ARCH_32 || MULTILIB)
|
|
|
|
help
|
|
|
|
This is the -mabi=32 gcc option.
|
|
|
|
|
|
|
|
config ARCH_mips_n32
|
|
|
|
bool
|
|
|
|
prompt "n32"
|
|
|
|
depends on ARCH_64
|
|
|
|
help
|
|
|
|
This is the -mabi=n32 gcc option.
|
|
|
|
|
|
|
|
config ARCH_mips_n64
|
|
|
|
bool
|
|
|
|
prompt "n64"
|
|
|
|
depends on ARCH_64
|
|
|
|
help
|
|
|
|
This is the -mabi=64 gcc option.
|
|
|
|
|
|
|
|
# Not supported on Linux:
|
|
|
|
# o64 : seems related to *BSD
|
|
|
|
# eabi : seems related to bare-metal
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config ARCH_mips_ABI
|
|
|
|
string
|
|
|
|
default "32" if ARCH_mips_o32
|
|
|
|
default "n32" if ARCH_mips_n32
|
|
|
|
default "64" if ARCH_mips_n64
|