2017-07-05 02:19:42 +00:00
|
|
|
# Powerpc specific configuration file
|
2008-06-27 13:58:53 +00:00
|
|
|
|
2017-11-29 08:14:04 +00:00
|
|
|
## no-package
|
2011-05-08 17:02:44 +00:00
|
|
|
## select ARCH_SUPPORTS_32
|
2014-05-11 22:02:13 +00:00
|
|
|
## select ARCH_SUPPORTS_64
|
2011-05-08 17:02:44 +00:00
|
|
|
## select ARCH_DEFAULT_32
|
2017-08-29 22:36:52 +00:00
|
|
|
## select ARCH_SUPPORTS_EITHER_ENDIAN
|
2014-05-11 22:02:13 +00:00
|
|
|
## select ARCH_DEFAULT_BE
|
2011-05-08 17:02:44 +00:00
|
|
|
## select ARCH_USE_MMU
|
2011-11-29 23:25:22 +00:00
|
|
|
## select ARCH_SUPPORTS_WITH_ABI
|
|
|
|
## select ARCH_SUPPORTS_WITH_CPU
|
|
|
|
## select ARCH_SUPPORTS_WITH_TUNE
|
2011-11-24 18:44:17 +00:00
|
|
|
## select ARCH_SUPPORTS_WITH_FLOAT
|
2020-02-26 16:49:59 +00:00
|
|
|
## select ARCH_SUPPORTS_WITH_32_64
|
2011-05-08 17:02:44 +00:00
|
|
|
##
|
|
|
|
## help The PowerPC architecture, as defined by:
|
|
|
|
## help http://www.ibm.com/developerworks/eserver/articles/archguide.html
|
2017-07-05 02:19:42 +00:00
|
|
|
|
|
|
|
config ARCH_powerpc_ABI
|
|
|
|
string
|
|
|
|
default "" if ARCH_powerpc_ABI_DEFAULT
|
|
|
|
default "eabi" if ARCH_powerpc_ABI_EABI
|
|
|
|
default "spe" if ARCH_powerpc_ABI_SPE
|
|
|
|
|
|
|
|
choice
|
|
|
|
bool
|
|
|
|
prompt "ABI"
|
|
|
|
default ARCH_powerpc_ABI_DEFAULT
|
|
|
|
|
|
|
|
config ARCH_powerpc_ABI_DEFAULT
|
|
|
|
bool
|
|
|
|
prompt "default"
|
|
|
|
help
|
|
|
|
The default ABI (System V.4).
|
|
|
|
|
|
|
|
config ARCH_powerpc_ABI_EABI
|
|
|
|
bool
|
|
|
|
prompt "EABI"
|
|
|
|
depends on BARE_METAL
|
|
|
|
help
|
|
|
|
The Embedded ABI (stack alignment of 8 bytes, etc).
|
|
|
|
|
|
|
|
config ARCH_powerpc_ABI_SPE
|
|
|
|
bool
|
|
|
|
prompt "SPE"
|
2020-03-04 19:41:04 +00:00
|
|
|
select GCC_REQUIRE_8_or_older
|
|
|
|
select GLIBC_REQUIRE_2_29_or_older
|
2017-07-05 02:19:42 +00:00
|
|
|
help
|
|
|
|
Add support for the Signal Processing Engine. This will set up
|
|
|
|
the toolchain so that it supports the SPE ABI extensions. This
|
|
|
|
mainly targets Freescale e500 processors.
|
|
|
|
|
|
|
|
Setting this option will append "spe" to the end of your target
|
|
|
|
tuple name (e.g., powerpc-e500v2-linux-gnuspe) so that the gcc
|
|
|
|
configure/build system will know to include SPE ABI support. It
|
|
|
|
will also automatically add "-mabi=spe -mspe" to your TARGET_CFLAGS,
|
|
|
|
and "--enable-e500_double" to your CC_EXTRA_CONFIG_ARRAY, so you
|
|
|
|
do not need to explicitly add them.
|
|
|
|
|
2020-03-04 19:41:04 +00:00
|
|
|
Support for SPE ABI has been removed in GCC 9.
|
|
|
|
|
2017-07-05 02:19:42 +00:00
|
|
|
endchoice
|