crosstool-ng/scripts/build/arch
Alexey Brodkin de76f7cc82 ARC: Support building of multi-lib Glibc toolchain
From GCC's standpoint ARC's multilib items are defined by "mcpu" values
which we have quite a few and for all of them might be built optimized
cross-toolchain.

From Glibc's standpoint multilib is just multi-ABI [1] and so very limited
versions are supposed to co-exist (e.g. arc700 & archs).

Here we force Glibc to install libraries in GCC's multilib folder to create
a universal cross-toolchain that has libs optimized for multiple CPU types.

But note we only need to mess with installation paths in case of real
multilib, otherwise we keep default "lib/" paths so that GCC finds default
(the one and only) libs where it expects them to be.

Also here we add a sample which allows to build universal Glibc Linux
toolchain for ARC.

[1] https://sourceware.org/ml/libc-alpha/2019-06/msg00018.html

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2019-06-14 17:50:46 +03:00
..
alpha.sh libc/*.sh: Deprecate libc_check_config step. 2016-08-23 11:00:27 -07:00
arc.sh ARC: Support building of multi-lib Glibc toolchain 2019-06-14 17:50:46 +03:00
arm.sh Disable context functions for Thumb 2018-06-05 16:38:30 -07:00
avr.sh Add config flags for omitting 'arch' and 'vendor' 2018-12-10 01:10:01 -08:00
m68k.sh uClibc: Split configuration tweaker into per-arch functions. 2016-08-23 11:00:27 -07:00
microblaze.sh Super-H multilib toolchain fixes 2017-09-03 12:11:23 -07:00
mips.sh Separate uclibc's multilib headers on MIPS, too 2017-05-14 00:04:05 -07:00
moxie.sh Use -mel/-meb for moxie 2018-12-07 14:49:03 -08:00
msp430.sh Added a sample of the MSP430 architecture and removed config.sub 2017-06-02 15:32:55 -07:00
nios2.sh scripts/nios2: do not override precomputed flags 2017-07-01 15:16:28 +03:00
powerpc.sh Generate correct tuple for PowerPC with SPE ABI 2018-10-23 23:22:01 -07:00
riscv.sh add RISC-V architecture support 2017-11-19 04:50:14 +03:00
s390.sh Change multilib functions to set the variable. 2016-08-23 11:00:27 -07:00
sh.sh Only decorate TARGET_ARCH if using specific CPU 2018-01-21 19:45:13 -08:00
sparc.sh Convert the rest of packages to new framework 2017-07-08 10:57:56 -07:00
x86.sh Warn if architecture is empty on x86/32bit 2018-12-03 16:17:25 -08:00
xtensa.sh Add config flags for omitting 'arch' and 'vendor' 2018-12-10 01:10:01 -08:00