summaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/uclibc.mk
diff options
context:
space:
mode:
authorChris Zankel <chris@zankel.net>2012-11-15 03:53:51 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-11-15 16:39:43 +0100
commit75720db391376ef23b92e504c43f9972efd53141 (patch)
treed83b3dc8f531863a5a858cdb62c43c59a8790fe4 /toolchain/uClibc/uclibc.mk
parent86f6987bf7bc1bd9eae3c2a9ffa427cc87da9bbd (diff)
downloadbuildroot-novena-75720db391376ef23b92e504c43f9972efd53141.tar.gz
buildroot-novena-75720db391376ef23b92e504c43f9972efd53141.zip
xtensa: add support for the Xtensa architecture
The Xtensa architecture had been removed because it required special handling and depended on additional directories and files that became obsolete over time. This change is more aligned to other architectures. [Thomas: rebased on top of the "arch: improve definition of gcc mtune, mcpu, etc." patch]. 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>
Diffstat (limited to 'toolchain/uClibc/uclibc.mk')
-rw-r--r--toolchain/uClibc/uclibc.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
index 8cf59bce7..055267cbc 100644
--- a/toolchain/uClibc/uclibc.mk
+++ b/toolchain/uClibc/uclibc.mk
@@ -38,6 +38,7 @@ UCLIBC_TARGET_ARCH:=$(shell $(SHELL) -c "echo $(ARCH) | sed \
-e 's/sh[234].*/sh/' \
-e 's/mips.*/mips/' \
-e 's/cris.*/cris/' \
+ -e 's/xtensa.*/xtensa/' \
")
UCLIBC_TARGET_ENDIAN:=$(call qstrip,$(BR2_ENDIAN))