crosstool-ng/config
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 Update elf2flt default cset 2016-06-14 07:54:52 +02:00
cc add support for gcc 4.9.4 2016-11-17 16:17:22 -08:00
companion_libs gettext: bump version to 0.19.7 2016-04-30 00:16:13 +08:00
companion_tools Give companion tools some love. 2016-11-21 23:03:03 -08:00
debug duma: add SHARED_LIBS dependency for DUMA shared library option 2016-09-07 17:24:22 +03:00
global config: Remove CUSTOM_LOCATION_ROOT_DIR 2015-12-08 07:20:35 -08:00
kernel Update kernel versions... 2016-11-18 13:33:52 -08:00
libc Merge pull request #381 from enunes/avr 2016-11-15 14:45:42 -08:00
.gitignore repository: migrate old hg files over to git 2014-06-27 00:28:53 +02:00
backend.in kconfig: Update kconfig. Sync with Linux-4.2 2015-09-03 19:00:28 -07:00
binutils.in binutils: cleanup ELF/FLAT/FDPIC dependencies 2012-11-19 21:39:58 +01:00
cc.in config: Add config support for multiple compilers 2015-05-29 21:49:33 +01:00
companion_libs.in PPL: Remove support for PPL and CLooG/PPL 2015-11-29 17:36:58 -08:00
companion_tools.in Give companion tools some love. 2016-11-21 23:03:03 -08:00
config.in config: switch cc with libc in the config order 2014-05-11 13:38:12 +02:00
config.mk Give companion tools some love. 2016-11-21 23:03:03 -08:00
debug.in config: fix style issues when source-ing files 2010-03-29 20:24:50 +02:00
global.in Fix tristate Kconfig options 2015-09-07 13:30:18 +02:00
kernel.in libc/mingw: replace mingw32 with generic mingw 2012-11-14 14:05:49 +01:00
libc.in Requested changes by @stilor in the PR #368 review 2016-11-12 07:32:06 +01:00
target.in multilib: Determine which options may pass through. 2016-08-23 11:00:27 -07:00
test_suite.in all: unmark experimental features 2012-12-26 20:05:19 +01:00
toolchain.in config: Add static link check to static options 2016-02-26 04:14:39 -08:00