crosstool-ng/scripts
Max Filippov 6c6829a061 xtensa: fix endianness support
To build uClibc correctly we need correct endianness selected in the
crosstool-NG. Xtensa cores may be little- or big-endian, but this
property is static. The toolchain knows the core endianness and doesn't
need options to select it.
Enable ARCH_SUPPORTS_BOTH_ENDIAN and select LE by default. Specify empty
CT_ARCH_ENDIAN_CFLAG so that -m{big,little}-endian don't get added to
the TARGET_CFLAGS, as it's not supported by gcc. Specify empty
CT_ARCH_ENDIAN_LDFLAG so that -EB/-EL don't get added to the
TARGET_LDFLAGS as they are ignored. Select big-endian in the example
xtensa-unknown-linux-uclibc configuration.

This fixes uClibc toolchain build for little-endian cores.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2016-11-22 10:48:34 -08:00
..
build xtensa: fix endianness support 2016-11-22 10:48:34 -08:00
.gitignore repository: migrate old hg files over to git 2014-06-27 00:28:53 +02:00
addToolVersion.sh Give companion tools some love. 2016-11-21 23:03:03 -08:00
config.guess Update config.guess and config.sub 2016-08-26 08:54:13 -07:00
config.sub Update config.guess and config.sub 2016-08-26 08:54:13 -07:00
crosstool-NG.sh.in cross: Only make 'build tools' for the 'build' 2016-08-26 08:48:32 -07:00
functions Partially revert 6f8e89cb5c. 2016-11-20 23:50:17 -08:00
gen_in_frags.sh config: Add config support for multiple compilers 2015-05-29 21:49:33 +01:00
install-sh configure: use autoconf to generate configure 2011-11-07 22:28:40 +01:00
patch-renumber.sh scripts: fix tools override 2012-01-16 23:36:42 +01:00
patch-rework.sh Whitespace: We don't use tabs in shell or kconfig files 2015-12-08 10:55:17 -08:00
populate.in consistency: Use exported variables of required tools 2015-11-17 02:48:09 -08:00
saveSample.sh.in Linux: Remove obsolete Linux custom headers 2015-12-08 07:20:35 -08:00
scripts.mk Fix samples using GMP 4.3.2. 2015-10-30 16:24:52 -07:00
showSamples.sh Whitespace: We don't use tabs in shell or kconfig files 2015-12-08 10:55:17 -08:00
showTuple.sh.in scripts/showTuple: fix stdout 2013-01-06 12:08:33 +01:00
toolchain-config.in scripts: simplify and fix the toolchain config script 2011-08-19 00:52:05 +02:00
xldd.in consistency: Use exported variables of required tools 2015-11-17 02:48:09 -08:00