xtensa: support configurable processor configurations
authorChris Zankel <chris@zankel.net>
Thu, 15 Nov 2012 03:53:52 +0000 (03:53 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 15 Nov 2012 15:39:48 +0000 (16:39 +0100)
commitd8792a04ca0d8615424f7964155782b1206b5c8d
treea98304e96305ad0e2fb84c6c7f75ad00e500733d
parent75720db391376ef23b92e504c43f9972efd53141
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>
arch/Config.in.xtensa
package/binutils/binutils.mk
toolchain/gcc/gcc-uclibc-4.x.mk
toolchain/gdb/gdb.mk