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/mips64/kernel/generic-mips64 | 1 + target/mips64/systems/lemote-yeelong | 4 ++-- target/mips64/systems/qemu-mips64 | 1 - target/mips64/systems/toolchain-mips64 | 8 -------- 4 files changed, 3 insertions(+), 11 deletions(-) create mode 100644 target/mips64/kernel/generic-mips64 delete mode 100644 target/mips64/systems/toolchain-mips64 (limited to 'target/mips64') diff --git a/target/mips64/kernel/generic-mips64 b/target/mips64/kernel/generic-mips64 new file mode 100644 index 000000000..a1b333ca5 --- /dev/null +++ b/target/mips64/kernel/generic-mips64 @@ -0,0 +1 @@ +CONFIG_MIPS=y diff --git a/target/mips64/systems/lemote-yeelong b/target/mips64/systems/lemote-yeelong index 1512ecfd8..c25880d7c 100644 --- a/target/mips64/systems/lemote-yeelong +++ b/target/mips64/systems/lemote-yeelong @@ -1,7 +1,7 @@ config ADK_TARGET_SYSTEM_LEMOTE_YEELONG bool "Lemote Yeelong laptop" - select ADK_CPU_LOONGSON2F - select ADK_TARGET_LITTLE_ENDIAN + depends on ADK_TARGET_LITTLE_ENDIAN + select ADK_TARGET_CPU_MIPS64_LOONGSON2F select ADK_TARGET_WITH_USB_BOOT select ADK_TARGET_WITH_USB select ADK_TARGET_WITH_PCI diff --git a/target/mips64/systems/qemu-mips64 b/target/mips64/systems/qemu-mips64 index 2984fc14f..a528e3ebd 100644 --- a/target/mips64/systems/qemu-mips64 +++ b/target/mips64/systems/qemu-mips64 @@ -1,6 +1,5 @@ config ADK_TARGET_SYSTEM_QEMU_MIPS64 bool "Qemu Emulator" - select ADK_CPU_MIPS64 select ADK_TARGET_QEMU select ADK_TARGET_KERNEL_VMLINUZ select ADK_TARGET_KERNEL_WITH_COMPRESSION diff --git a/target/mips64/systems/toolchain-mips64 b/target/mips64/systems/toolchain-mips64 deleted file mode 100644 index 5b92b796a..000000000 --- a/target/mips64/systems/toolchain-mips64 +++ /dev/null @@ -1,8 +0,0 @@ -config ADK_TARGET_SYSTEM_TOOLCHAIN_MIPS64 - bool "Toolchain only" - select ADK_CPU_MIPS64 - select ADK_TARGET_TOOLCHAIN - select ADK_TARGET_PACKAGE_TXZ - help - MIPS64 toolchain. - -- cgit v1.2.3