mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-30 09:38:52 +00:00
6c6829a061
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> |
||
---|---|---|
.. | ||
alpha.in | ||
alpha.in.2 | ||
arm.in | ||
arm.in.2 | ||
avr.in | ||
m68k.in | ||
microblaze.in | ||
mips.in | ||
mips.in.2 | ||
nios2.in | ||
powerpc.in | ||
powerpc.in.2 | ||
s390.in | ||
sh.in | ||
sh.in.2 | ||
sparc.in | ||
x86.in | ||
xtensa.in | ||
xtensa.in.2 |