kumquat-buildroot/arch/Config.in.xtensa
Chris Zankel d8792a04ca xtensa: support configurable processor configurations
Xtensa is a configurable processor architecture, which allows to define
additional instructions and registers. The required variant specific
information for the toolchain is delivered in an 'overlay' file, which
needs to be 'untarred' to the corresponding directories after the
source is installed and patched.
This patch provides support for binutils, gcc, and gdb with a very
limited changes to the build scripts. These additions are only executed
for the Xtensa architecture and have no effect on other architectures.

[Thomas: rebased on top of the 'arch: improve definition of gcc mtune,
mcpu, etc.' patch, and changed 'Target ABI' to 'Target Architecture
Variant'].

Signed-off-by: Chris Zankel <chris@zankel.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-15 16:39:48 +01:00

34 lines
870 B
Plaintext

choice
prompt "Target Architecture Variant"
depends on BR2_xtensa
default BR2_xtensa_fsf
config BR2_xtensa_custom
bool "Custom Xtensa processor configuration"
config BR2_xtensa_fsf
bool "fsf - Default configuration"
endchoice
config BR2_xtensa_custom_name
string "Custom Xtensa processor configuration anme"
depends on BR2_xtensa_custom
default ""
help
Name given to a custom Xtensa processor configuration.
config BR2_xtensa_core_name
string
default BR2_xtensa_custom_name if BR2_xtensa_custom
default "" if BR2_xtensa_fsf
config BR2_xtensa_overlay_dir
string "Overlay directory for custom configuration"
depends on BR2_xtensa_custom
default ""
help
Provide a directory path that contains the overlay files
for the custom configuration. The path is based on the
buildroot top directory.
config BR2_ARCH
default "xtensa" if BR2_xtensa