summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2020-08-06 03:40:55 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2020-08-06 03:40:55 +0200
commit78a0c5bd31ecf08d44e4b9ac6f1bf8ffedbe1b88 (patch)
tree8e440d22a3cfb0791d27fc756bcbaceedbec54ec
parente4800c73e63e51cb143566ccf0ec0d95981969ff (diff)
arc: use gcc9 and kernel 5.4 otherwise nsimdrv crashes
-rw-r--r--target/config/Config.in.compiler2
-rw-r--r--target/linux/Config.in.kernelversion1
2 files changed, 3 insertions, 0 deletions
diff --git a/target/config/Config.in.compiler b/target/config/Config.in.compiler
index 7ddf83686..a26554cbd 100644
--- a/target/config/Config.in.compiler
+++ b/target/config/Config.in.compiler
@@ -18,6 +18,7 @@ default ADK_TOOLCHAIN_GCC_METAG if ADK_TARGET_ARCH_METAG
default ADK_TOOLCHAIN_GCC_NDS32 if ADK_TARGET_ARCH_NDS32
default ADK_TOOLCHAIN_GCC_7 if ADK_TARGET_CPU_ARM_ARM11MPCORE
default ADK_TOOLCHAIN_GCC_7 if ADK_TARGET_CPU_ARM_CORTEX_A53
+default ADK_TOOLCHAIN_GCC_9 if ADK_TARGET_ARCH_ARC
default ADK_TOOLCHAIN_GCC_9 if ADK_TARGET_ARCH_CSKY
default ADK_TOOLCHAIN_GCC_9 if ADK_TARGET_ARCH_HPPA
default ADK_TOOLCHAIN_GCC_9 if ADK_TARGET_ARCH_OR1K
@@ -45,6 +46,7 @@ config ADK_TOOLCHAIN_GCC_9
config ADK_TOOLCHAIN_GCC_8
bool "8.4.0"
+ depends on !ADK_TARGET_ARCH_ARC
depends on !ADK_TARGET_ARCH_AVR32
depends on !ADK_TARGET_ARCH_CSKY
depends on !ADK_TARGET_ARCH_HPPA
diff --git a/target/linux/Config.in.kernelversion b/target/linux/Config.in.kernelversion
index c37c9a0b6..68cd67f2d 100644
--- a/target/linux/Config.in.kernelversion
+++ b/target/linux/Config.in.kernelversion
@@ -23,6 +23,7 @@ default ADK_TARGET_LINUX_KERNEL_VERSION_4_9 if ADK_TARGET_ARCH_FRV
default ADK_TARGET_LINUX_KERNEL_VERSION_4_9 if ADK_TARGET_CPU_ARM_ARM11MPCORE
default ADK_TARGET_LINUX_KERNEL_VERSION_4_9 if ADK_TARGET_CPU_ARM_CORTEX_A53
default ADK_TARGET_LINUX_KERNEL_VERSION_4_14 if ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB
+default ADK_TARGET_LINUX_KERNEL_VERSION_5_4 if ADK_TARGET_ARCH_ARC
default ADK_TARGET_LINUX_KERNEL_VERSION_5_4 if ADK_TARGET_ARCH_CSKY
default ADK_TARGET_LINUX_KERNEL_VERSION_5_4 if ADK_TARGET_ARCH_RISCV32
default ADK_TARGET_LINUX_KERNEL_VERSION_5_4 if ADK_TARGET_ARCH_RISCV64