summaryrefslogtreecommitdiff
path: root/target/arc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-03-05 12:51:42 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-03-07 06:42:57 +0100
commitc384dc577bd32f3315bacb410fc31610b41f742c (patch)
tree903aaed00f4b82d5e1eada2bd4fea8a7f3387ded /target/arc
parent68d4e79f35039b31ae835e82241a567b0ad66aa8 (diff)
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 ;)
Diffstat (limited to 'target/arc')
-rw-r--r--target/arc/kernel/generic-arc1
-rw-r--r--target/arc/systems/nsim-arcv12
-rw-r--r--target/arc/systems/nsim-arcv22
-rw-r--r--target/arc/systems/toolchain-arc7
4 files changed, 3 insertions, 9 deletions
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.
-