mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-06-08 01:22:11 +08:00
toolchain/gcc: add loongarch64 new target
This commit is contained in:
parent
253878b854
commit
9c8d196759
@ -156,6 +156,10 @@ config i386
|
|||||||
config i686
|
config i686
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
config loongarch64
|
||||||
|
select ARCH_64BIT
|
||||||
|
bool
|
||||||
|
|
||||||
config m68k
|
config m68k
|
||||||
bool
|
bool
|
||||||
|
|
||||||
@ -220,6 +224,7 @@ config ARCH
|
|||||||
default "armeb" if armeb
|
default "armeb" if armeb
|
||||||
default "i386" if i386
|
default "i386" if i386
|
||||||
default "i686" if i686
|
default "i686" if i686
|
||||||
|
default "loongarch64" if loongarch64
|
||||||
default "m68k" if m68k
|
default "m68k" if m68k
|
||||||
default "mips" if mips
|
default "mips" if mips
|
||||||
default "mipsel" if mipsel
|
default "mipsel" if mipsel
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
choice
|
choice
|
||||||
prompt "GCC compiler Version" if TOOLCHAINOPTS
|
prompt "GCC compiler Version" if TOOLCHAINOPTS
|
||||||
default GCC_USE_VERSION_8 if mips || mipsel || mips64 || mips64el
|
default GCC_USE_VERSION_8 if mips || mipsel || mips64 || mips64el
|
||||||
|
default GCC_USE_VERSION_13 if loongarch64
|
||||||
default GCC_USE_VERSION_11
|
default GCC_USE_VERSION_11
|
||||||
help
|
help
|
||||||
Select the version of gcc you wish to use.
|
Select the version of gcc you wish to use.
|
||||||
|
@ -9,6 +9,7 @@ config GCC_VERSION_12
|
|||||||
|
|
||||||
config GCC_VERSION_13
|
config GCC_VERSION_13
|
||||||
default y if GCC_USE_VERSION_13
|
default y if GCC_USE_VERSION_13
|
||||||
|
default y if loongarch64
|
||||||
bool
|
bool
|
||||||
|
|
||||||
config GCC_VERSION
|
config GCC_VERSION
|
||||||
|
Loading…
x
Reference in New Issue
Block a user