2008-01-16 22:06:15 +00:00
|
|
|
# Super-H specific configuration file
|
|
|
|
|
2011-05-08 17:02:44 +00:00
|
|
|
## select ARCH_SUPPORTS_32
|
|
|
|
## select ARCH_DEFAULT_32
|
|
|
|
## select ARCH_USE_MMU
|
2017-08-29 22:36:52 +00:00
|
|
|
## select ARCH_SUPPORTS_EITHER_ENDIAN
|
|
|
|
## select ARCH_DEFAULT_LE_BE
|
2016-03-19 22:56:26 +00:00
|
|
|
## select ARCH_REQUIRES_MULTILIB
|
2017-08-29 22:36:52 +00:00
|
|
|
## select ARCH_SUPPORTS_WITH_ENDIAN
|
|
|
|
## select ARCH_SUPPORTS_WITH_CPU
|
2011-05-08 17:02:44 +00:00
|
|
|
##
|
|
|
|
## help The Super-H architecture, as defined by:
|
|
|
|
## help http://www.renesas.com/fmwk.jsp?cnt=superh_family_landing.jsp&fp=/products/mpumcu/superh_family/
|
2017-07-05 02:19:42 +00:00
|
|
|
|
|
|
|
choice
|
|
|
|
bool
|
|
|
|
prompt "Variant"
|
|
|
|
|
2017-08-29 22:36:52 +00:00
|
|
|
# GCC supports both endiannesses even if a specific CPU is selected (so long
|
|
|
|
# as that CPU can be both BE/LE), but the binutils (or specifically, ld)
|
|
|
|
# configures for both endiannesses only if sh-*-linux target is selected.
|
|
|
|
config ARCH_SH_SH
|
|
|
|
bool
|
|
|
|
prompt "unspecified"
|
|
|
|
select ARCH_SUPPORTS_BOTH_ENDIAN
|
|
|
|
help
|
|
|
|
If left unspecified, GCC will determine the set of multilibs to compile automatically
|
|
|
|
based on selected endianness, FPU mode and OS.
|
|
|
|
|
|
|
|
config ARCH_SH_SH1
|
|
|
|
bool
|
|
|
|
prompt "sh1"
|
|
|
|
|
|
|
|
config ARCH_SH_SH2
|
|
|
|
bool
|
|
|
|
prompt "sh2"
|
|
|
|
|
|
|
|
config ARCH_SH_SH2E
|
|
|
|
bool
|
|
|
|
prompt "sh2e"
|
|
|
|
|
|
|
|
config ARCH_SH_SH2A
|
|
|
|
bool
|
|
|
|
prompt "sh2a"
|
|
|
|
|
2017-07-05 02:19:42 +00:00
|
|
|
config ARCH_SH_SH3
|
|
|
|
bool
|
|
|
|
prompt "sh3"
|
|
|
|
|
2017-08-29 22:36:52 +00:00
|
|
|
config ARCH_SH_SH3E
|
|
|
|
bool
|
|
|
|
prompt "sh3e"
|
|
|
|
|
2017-07-05 02:19:42 +00:00
|
|
|
config ARCH_SH_SH4
|
|
|
|
bool
|
|
|
|
prompt "sh4"
|
|
|
|
|
|
|
|
config ARCH_SH_SH4A
|
|
|
|
bool
|
|
|
|
prompt "sh4a"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config ARCH_SH_VARIANT
|
|
|
|
string
|
2017-08-29 22:36:52 +00:00
|
|
|
default "sh" if ARCH_SH_SH
|
|
|
|
default "sh1" if ARCH_SH_SH1
|
|
|
|
default "sh2" if ARCH_SH_SH2
|
|
|
|
default "sh2e" if ARCH_SH_SH2E
|
|
|
|
default "sh2a" if ARCH_SH_SH2A
|
2017-07-05 02:19:42 +00:00
|
|
|
default "sh3" if ARCH_SH_SH3
|
2017-08-29 22:36:52 +00:00
|
|
|
default "sh3e" if ARCH_SH_SH3E
|
2017-07-05 02:19:42 +00:00
|
|
|
default "sh4" if ARCH_SH_SH4
|
|
|
|
default "sh4a" if ARCH_SH_SH4A
|