crosstool-ng/scripts/build
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
..
arch xtensa: fix endianness support 2016-11-22 10:48:34 -08:00
binutils Partially revert 6f8e89cb5c. 2016-11-20 23:50:17 -08:00
cc Partially revert 6f8e89cb5c. 2016-11-20 23:50:17 -08:00
companion_libs Partially revert 6f8e89cb5c. 2016-11-20 23:50:17 -08:00
companion_tools Give companion tools some love. 2016-11-21 23:03:03 -08:00
debug Partially revert 6f8e89cb5c. 2016-11-20 23:50:17 -08:00
kernel Partially revert 6f8e89cb5c. 2016-11-20 23:50:17 -08:00
libc Partially revert 6f8e89cb5c. 2016-11-20 23:50:17 -08:00
test_suite Partially revert 6f8e89cb5c. 2016-11-20 23:50:17 -08:00
arch.sh Partially revert 6f8e89cb5c. 2016-11-20 23:50:17 -08:00
cc.sh Whitespace: We don't use tabs in shell or kconfig files 2015-12-08 10:55:17 -08:00
companion_libs.sh Build companion libs for target. 2015-11-13 10:24:22 -08:00
companion_tools.sh companion_tools/autoconf: add autoconf tool 2010-01-12 21:09:30 +01:00
debug.sh Simplify the Tools and Debug facilities menu entries: 2008-10-10 14:30:44 +00:00
internals.sh Partially revert 6f8e89cb5c. 2016-11-20 23:50:17 -08:00
test_suite.sh test-suite: Added new test suite feature (experimental) 2010-05-19 17:53:04 +02:00