crosstool-ng/config/arch
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
..
alpha.in arch: rename the SUPPORT_XXX options 2011-11-30 00:25:22 +01:00
alpha.in.2 arch/alpha: move config-options to second-part 2010-09-12 00:05:46 +02:00
arm.in Allow --with-cpu/--with-tune for !arm. 2015-11-14 15:04:55 -08:00
arm.in.2 arch/arm: EABIhf is now the default 2014-09-20 16:53:58 +02:00
avr.in avr: add support for AVR 8-bit architecture 2015-06-21 20:49:10 -03:00
m68k.in all: unmark experimental features 2012-12-26 20:05:19 +01:00
microblaze.in Whitespace: We don't use tabs in shell or kconfig files 2015-12-08 10:55:17 -08:00
mips.in config: MIPS64 is no longer experimental 2015-11-02 14:14:38 -08:00
mips.in.2 mips: allow o32 ABI as default for multilib 2016-08-23 11:00:27 -07:00
nios2.in arch/nios2:add nios2 2015-01-26 20:43:18 +01:00
powerpc.in arch/powerpc: add powerpc64le support 2014-05-12 00:02:13 +02:00
powerpc.in.2 gcc: add support for the PowerPC EABI 2011-09-17 14:30:52 +02:00
s390.in all: unmark experimental features 2012-12-26 20:05:19 +01:00
sh.in sh: require multilib 2016-06-09 17:12:49 -07:00
sh.in.2 arch/sh: move config-options to second-part 2010-09-12 00:07:41 +02:00
sparc.in arch/sparc: Sparc supports setting the floating point type 2011-11-24 19:48:35 +01:00
x86.in arch: rename the SUPPORT_XXX options 2011-11-30 00:25:22 +01:00
xtensa.in xtensa: fix endianness support 2016-11-22 10:48:34 -08:00
xtensa.in.2 Whitespace: We don't use tabs in shell or kconfig files 2015-12-08 10:55:17 -08:00