diff options
author | Chris Zankel <chris@zankel.net> | 2013-07-24 15:10:47 -0700 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2015-11-13 09:08:53 +0300 |
commit | 81328ed1cbcfb7fbe77552aa9030cddd68ca97b9 (patch) | |
tree | f26c8b36cd483fbe77759f1ee3706dd57a6d6c90 /scripts/build/binutils/binutils.sh | |
parent | 57de8dcf22d5ddddee6a44f87f45f2c279fdb1ac (diff) | |
download | crosstool-ng-81328ed1cbcfb7fbe77552aa9030cddd68ca97b9.tar.gz crosstool-ng-81328ed1cbcfb7fbe77552aa9030cddd68ca97b9.tar.bz2 crosstool-ng-81328ed1cbcfb7fbe77552aa9030cddd68ca97b9.zip |
xtensa: add support for the configurable Xtensa architecture.
The Xtensa processor architecture is a configurable, extensible,
and synthesizable 32-bit RISC processor core. Processor and SOC vendors
can select from various processor options and even create customized
instructions in addition to a base ISA to tailor the processor for
a particular application.
Because of the configurability, the build process requires one additional
step for gcc, binutils, and gdb to update the default configuration.
These configurations are packed into an 'overlay' tar image, and are
simply untarred on top of the default configuration during the build.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'scripts/build/binutils/binutils.sh')
-rw-r--r-- | scripts/build/binutils/binutils.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/build/binutils/binutils.sh b/scripts/build/binutils/binutils.sh index a23b94a0..dcaf37da 100644 --- a/scripts/build/binutils/binutils.sh +++ b/scripts/build/binutils/binutils.sh @@ -46,6 +46,10 @@ do_binutils_extract() { CT_Patch "elf2flt" "${CT_ELF2FLT_GIT_CSET}" fi fi + + if [ -n "${CT_ARCH_XTENSA_CUSTOM_NAME}" ]; then + CT_ConfigureXtensa "binutils" "${CT_BINUTILS_VERSION}" + fi } # Build binutils for build -> target |