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/sparc/kernel/generic-sparc | 2 ++ target/sparc/systems/qemu-sparc | 2 +- target/sparc/systems/sun-voyager | 2 +- target/sparc/systems/toolchain-sparc | 7 ------- 4 files changed, 4 insertions(+), 9 deletions(-) create mode 100644 target/sparc/kernel/generic-sparc delete mode 100644 target/sparc/systems/toolchain-sparc (limited to 'target/sparc') diff --git a/target/sparc/kernel/generic-sparc b/target/sparc/kernel/generic-sparc new file mode 100644 index 000000000..fe345f093 --- /dev/null +++ b/target/sparc/kernel/generic-sparc @@ -0,0 +1,2 @@ +CONFIG_SPARC=y +CONFIG_SPARC32=y diff --git a/target/sparc/systems/qemu-sparc b/target/sparc/systems/qemu-sparc index 402cbecee..90bc1da3c 100644 --- a/target/sparc/systems/qemu-sparc +++ b/target/sparc/systems/qemu-sparc @@ -1,7 +1,7 @@ config ADK_TARGET_SYSTEM_QEMU_SPARC bool "Qemu Emulator" - select ADK_CPU_SPARC_V8 select ADK_TARGET_QEMU + select ADK_TARGET_CPU_SPARC_V8 select ADK_TARGET_KERNEL_ZIMAGE select ADK_TARGET_KERNEL_WITH_COMPRESSION help diff --git a/target/sparc/systems/sun-voyager b/target/sparc/systems/sun-voyager index d6c789b23..4b034acde 100644 --- a/target/sparc/systems/sun-voyager +++ b/target/sparc/systems/sun-voyager @@ -1,7 +1,7 @@ config ADK_TARGET_SYSTEM_SUN_VOYAGER bool "Sun Voyager" depends on ADK_EXPERIMENTAL - select ADK_CPU_SPARC_V8 + select ADK_TARGET_CPU_SPARC_V8 select ADK_TARGET_WITH_VGA select ADK_TARGET_WITH_NET select ADK_TARGET_WITH_NETDEVICE diff --git a/target/sparc/systems/toolchain-sparc b/target/sparc/systems/toolchain-sparc deleted file mode 100644 index 7346ab3cc..000000000 --- a/target/sparc/systems/toolchain-sparc +++ /dev/null @@ -1,7 +0,0 @@ -config ADK_TARGET_SYSTEM_TOOLCHAIN_SPARC - bool "Toolchain only" - select ADK_TARGET_TOOLCHAIN - select ADK_TARGET_PACKAGE_TXZ - help - SPARC toolchain. - -- cgit v1.2.3