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/sh/kernel/generic-sh | 2 ++ target/sh/systems/numato-mimasv2 | 2 +- target/sh/systems/qemu-sh | 2 +- target/sh/systems/toolchain-sh | 7 ------- 4 files changed, 4 insertions(+), 9 deletions(-) create mode 100644 target/sh/kernel/generic-sh delete mode 100644 target/sh/systems/toolchain-sh (limited to 'target/sh') 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. - -- cgit v1.2.3