From 08317fa541a10bd2e385479d73e99348cc2351dd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 25 May 2018 13:36:17 +0200 Subject: rework hardware and C library settings Make the menu system for configuration more intuitive. First choose operating system, then hardware, starting with architecture. Then choose either generic or a sample system. When choosing a sample be more strict in case of MMU or Endianess selection, so a misconfiguration isn't possible. Furthermore put a new top level menu for C library configuration and add Binary format, Instruction set, version selection, float type and any C library specific options. Refactor the duplicate definition of Qemu system versatile and Synopsys NSIM. --- target/linux/config/Config.in.arc | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 target/linux/config/Config.in.arc (limited to 'target/linux/config/Config.in.arc') diff --git a/target/linux/config/Config.in.arc b/target/linux/config/Config.in.arc new file mode 100644 index 000000000..e1b7f8f94 --- /dev/null +++ b/target/linux/config/Config.in.arc @@ -0,0 +1,25 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +config ADK_LINUX_KERNEL_ISA_ARCOMPACT + bool + depends on ADK_TARGET_ARCH_ARC + default y if ADK_TARGET_CPU_ARC_ARC700 + +config ADK_LINUX_KERNEL_ARC_CPU_770 + bool + depends on ADK_TARGET_ARCH_ARC + default y if ADK_TARGET_CPU_ARC_ARC700 + +config ADK_LINUX_KERNEL_ISA_ARCV2 + bool + depends on ADK_TARGET_ARCH_ARC + default y if ADK_TARGET_CPU_ARC_ARC_HS + +config ADK_LINUX_KERNEL_ARC_BUILTIN_DTB_NAME + string + depends on ADK_TARGET_ARCH_ARC + default "nsim_hs" if ADK_TARGET_CPU_ARC_ARC_HS + default "nsim_700" if ADK_TARGET_CPU_ARC_ARC700 + + -- cgit v1.2.3