From c384dc577bd32f3315bacb410fc31610b41f742c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 5 Mar 2016 12:51:42 +0100 Subject: rework menu based config system After the addition of bare metal toolchains the menu system allowed to create non-valid configurations. I reworked it so we can also add other operating system support if we wish. So first you choose your operating system, then your architecture and endianess, after that your embedded system, emulator or generic device and then you choose your task you want to run. Tasks may be toolchain, a new appliance/application or some preconfigured sets of packages and configurations as kodi, mpd, firefox and more. The tasks are limited to a plausible choice of hardware and software. Deduplicate CPU configuration. You don't wanna compile Kodi for a H8/300 microcontroller ;) --- target/arc/kernel/generic-arc | 1 + target/arc/systems/nsim-arcv1 | 2 +- target/arc/systems/nsim-arcv2 | 2 +- target/arc/systems/toolchain-arc | 7 ------- 4 files changed, 3 insertions(+), 9 deletions(-) create mode 100644 target/arc/kernel/generic-arc delete mode 100644 target/arc/systems/toolchain-arc (limited to 'target/arc') diff --git a/target/arc/kernel/generic-arc b/target/arc/kernel/generic-arc new file mode 100644 index 000000000..094fe8e9e --- /dev/null +++ b/target/arc/kernel/generic-arc @@ -0,0 +1 @@ +CONFIG_ARC=y diff --git a/target/arc/systems/nsim-arcv1 b/target/arc/systems/nsim-arcv1 index 1f0dc7dcd..65706b24f 100644 --- a/target/arc/systems/nsim-arcv1 +++ b/target/arc/systems/nsim-arcv1 @@ -1,6 +1,6 @@ config ADK_TARGET_SYSTEM_NSIM_ARCV1 bool "Synopsys NSIM Emulator (ARCv1)" - select ADK_CPU_ARC700 + select ADK_TARGET_CPU_ARC_ARC700 select ADK_TARGET_WITH_NET select ADK_TARGET_WITH_SERIAL select ADK_TARGET_KERNEL_WITH_COMPRESSION diff --git a/target/arc/systems/nsim-arcv2 b/target/arc/systems/nsim-arcv2 index 949acfbf6..c56b16c3a 100644 --- a/target/arc/systems/nsim-arcv2 +++ b/target/arc/systems/nsim-arcv2 @@ -1,6 +1,6 @@ config ADK_TARGET_SYSTEM_NSIM_ARCV2 bool "Synopsys NSIM Emulator (ARCv2)" - select ADK_CPU_ARC_HS + select ADK_TARGET_CPU_ARC_ARC_HS select ADK_TARGET_WITH_NET select ADK_TARGET_WITH_SERIAL select ADK_TARGET_KERNEL_WITH_COMPRESSION diff --git a/target/arc/systems/toolchain-arc b/target/arc/systems/toolchain-arc deleted file mode 100644 index 15e5b58fc..000000000 --- a/target/arc/systems/toolchain-arc +++ /dev/null @@ -1,7 +0,0 @@ -config ADK_TARGET_SYSTEM_TOOLCHAIN_ARC - bool "Toolchain only" - select ADK_TARGET_TOOLCHAIN - select ADK_TARGET_PACKAGE_TXZ - help - ARC toolchain. - -- cgit v1.2.3