From 78a0c5bd31ecf08d44e4b9ac6f1bf8ffedbe1b88 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 6 Aug 2020 03:40:55 +0200 Subject: arc: use gcc9 and kernel 5.4 otherwise nsimdrv crashes --- target/config/Config.in.compiler | 2 ++ target/linux/Config.in.kernelversion | 1 + 2 files changed, 3 insertions(+) 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 -- cgit v1.2.3