summaryrefslogtreecommitdiff
path: root/target/or1k
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/or1k
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/or1k')
-rw-r--r--target/or1k/systems/or1k-sim2
-rw-r--r--target/or1k/systems/qemu-or1k2
-rw-r--r--target/or1k/systems/toolchain-or1k8
3 files changed, 2 insertions, 10 deletions
diff --git a/target/or1k/systems/or1k-sim b/target/or1k/systems/or1k-sim
index 66087c98b..c28198a60 100644
--- a/target/or1k/systems/or1k-sim
+++ b/target/or1k/systems/or1k-sim
@@ -1,6 +1,6 @@
config ADK_TARGET_SYSTEM_OR1K_SIM
bool "OR1K Simulator"
- select ADK_CPU_OR1K
+ select ADK_TARGET_CPU_OR1K
select ADK_TARGET_WITH_SERIAL
select ADK_TARGET_WITH_NET
select ADK_TARGET_KERNEL_VERSION_GIT
diff --git a/target/or1k/systems/qemu-or1k b/target/or1k/systems/qemu-or1k
index 78089917e..2fd2ed672 100644
--- a/target/or1k/systems/qemu-or1k
+++ b/target/or1k/systems/qemu-or1k
@@ -1,7 +1,7 @@
config ADK_TARGET_SYSTEM_QEMU_OR1K
bool "Qemu Emulator"
select ADK_TARGET_QEMU
- select ADK_CPU_OR1K
+ select ADK_TARGET_CPU_OR1K
help
Qemu Emulator for OR1K architecture.
diff --git a/target/or1k/systems/toolchain-or1k b/target/or1k/systems/toolchain-or1k
deleted file mode 100644
index ed7efccd1..000000000
--- a/target/or1k/systems/toolchain-or1k
+++ /dev/null
@@ -1,8 +0,0 @@
-config ADK_TARGET_SYSTEM_TOOLCHAIN_OR1K
- bool "Toolchain only"
- select ADK_CPU_OR1K
- select ADK_TARGET_TOOLCHAIN
- select ADK_TARGET_PACKAGE_TXZ
- help
- OpenRISC toolchain.
-