crosstool-ng/scripts/build/arch/loongarch.sh
Jiajie Chen e840986fa4 loongarch64: add initial loongarch support
This commit adds architecture support for LoongArch.

The toolchain currently only supports the 64-bit target
loongarch64-unknown-linux-gnu.

It has been tested to build with GCC 12.1, GDB 12.1, Glibc 2.36, Linux
5.19 and Binutils 2.39 as of Aug 2022.

Signed-off-by: Jiajie Chen <c@jia.je>
2022-08-19 22:01:34 +12:00

6 lines
113 B
Bash

# Compute LoongArch-specific values
CT_DoArchTupleValues() {
CT_TARGET_ARCH="loongarch${CT_ARCH_BITNESS}"
}