summaryrefslogtreecommitdiff
path: root/target/sh
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/sh
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/sh')
-rw-r--r--target/sh/kernel/generic-sh2
-rw-r--r--target/sh/systems/numato-mimasv22
-rw-r--r--target/sh/systems/qemu-sh2
-rw-r--r--target/sh/systems/toolchain-sh7
4 files changed, 4 insertions, 9 deletions
diff --git a/target/sh/kernel/generic-sh b/target/sh/kernel/generic-sh
new file mode 100644
index 000000000..7793e5865
--- /dev/null
+++ b/target/sh/kernel/generic-sh
@@ -0,0 +1,2 @@
+CONFIG_SUPERH=y
+CONFIG_SUPERH32=y
diff --git a/target/sh/systems/numato-mimasv2 b/target/sh/systems/numato-mimasv2
index 07e234724..088fc5a73 100644
--- a/target/sh/systems/numato-mimasv2
+++ b/target/sh/systems/numato-mimasv2
@@ -1,6 +1,6 @@
config ADK_TARGET_SYSTEM_NUMATO_MIMASV2
bool "Numato Mimas v2 FPGA"
- select ADK_CPU_SH2
+ select ADK_TARGET_CPU_SH_SH2
select ADK_TARGET_WITH_SERIAL
help
Support for Numato Mimas v2 FPGA with J2 Core Bitstream, sh2 architecture.
diff --git a/target/sh/systems/qemu-sh b/target/sh/systems/qemu-sh
index a190b3e73..e2f698c1a 100644
--- a/target/sh/systems/qemu-sh
+++ b/target/sh/systems/qemu-sh
@@ -1,7 +1,7 @@
config ADK_TARGET_SYSTEM_QEMU_SH
bool "Qemu Emulator"
- select ADK_CPU_SH4
select ADK_TARGET_QEMU
+ select ADK_TARGET_CPU_SH_SH4
select ADK_TARGET_KERNEL_ZIMAGE
select ADK_TARGET_KERNEL_WITH_COMPRESSION
help
diff --git a/target/sh/systems/toolchain-sh b/target/sh/systems/toolchain-sh
deleted file mode 100644
index 3db0fcb1c..000000000
--- a/target/sh/systems/toolchain-sh
+++ /dev/null
@@ -1,7 +0,0 @@
-config ADK_TARGET_SYSTEM_TOOLCHAIN_SH
- bool "Toolchain only"
- select ADK_TARGET_TOOLCHAIN
- select ADK_TARGET_PACKAGE_TXZ
- help
- SUPERH toolchain.
-