toolchain/gcc: add loongarch64 new target

This commit is contained in:
coolsnowwolf 2024-01-11 21:14:49 +08:00
parent 253878b854
commit 9c8d196759
3 changed files with 7 additions and 0 deletions

View File

@ -156,6 +156,10 @@ config i386
config i686
bool
config loongarch64
select ARCH_64BIT
bool
config m68k
bool
@ -220,6 +224,7 @@ config ARCH
default "armeb" if armeb
default "i386" if i386
default "i686" if i686
default "loongarch64" if loongarch64
default "m68k" if m68k
default "mips" if mips
default "mipsel" if mipsel

View File

@ -3,6 +3,7 @@
choice
prompt "GCC compiler Version" if TOOLCHAINOPTS
default GCC_USE_VERSION_8 if mips || mipsel || mips64 || mips64el
default GCC_USE_VERSION_13 if loongarch64
default GCC_USE_VERSION_11
help
Select the version of gcc you wish to use.

View File

@ -9,6 +9,7 @@ config GCC_VERSION_12
config GCC_VERSION_13
default y if GCC_USE_VERSION_13
default y if loongarch64
bool
config GCC_VERSION