summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-08-06 13:31:40 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2023-08-23 17:04:53 +0200
commit491594f4865fc0af799a5a0972075f9bbff5757e (patch)
treedadfe8029ee84c412bafbe33a6ff742fc63cd2df /target
parentbe15b52d1dd4744913fed267286745d867d2bdc6 (diff)
loongarch: use gcc 13.x to fix Linux kernel compile issues
Diffstat (limited to 'target')
-rw-r--r--target/config/Config.in.compiler2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/config/Config.in.compiler b/target/config/Config.in.compiler
index 00d0894fe..da3c10f7e 100644
--- a/target/config/Config.in.compiler
+++ b/target/config/Config.in.compiler
@@ -20,6 +20,7 @@ default ADK_TOOLCHAIN_GCC_9 if ADK_TARGET_ARCH_BFIN && ADK_TARGET_BINFMT_FDPIC
default ADK_TOOLCHAIN_GCC_10 if ADK_TARGET_ARCH_CRIS # no longer supported
default ADK_TOOLCHAIN_GCC_10 if ADK_TARGET_CPU_SH_J2 # j2.patch
default ADK_TOOLCHAIN_GCC_11 if ADK_TARGET_ARCH_SPARC # bus error without patch
+default ADK_TOOLCHAIN_GCC_13 if ADK_TARGET_ARCH_LOONGARCH
default ADK_TOOLCHAIN_GCC_12
config ADK_TOOLCHAIN_GCC_GIT
@@ -38,6 +39,7 @@ config ADK_TOOLCHAIN_GCC_12
bool "12.3.0"
depends on !ADK_TARGET_ARCH_AVR32
depends on !ADK_TARGET_ARCH_METAG
+ depends on !ADK_TARGET_ARCH_LOONGARCH
depends on !ADK_TARGET_ARCH_SPARC
config ADK_TOOLCHAIN_GCC_11