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/mips/kernel/generic-mips | 1 + target/mips/systems/dragino-ms14s | 4 ++-- target/mips/systems/imgtec-ci20 | 4 ++-- target/mips/systems/mikrotik-rb4xx | 4 ++-- target/mips/systems/mikrotik-rb532 | 4 ++-- target/mips/systems/toolchain-mips | 7 ------- 6 files changed, 9 insertions(+), 15 deletions(-) create mode 100644 target/mips/kernel/generic-mips delete mode 100644 target/mips/systems/toolchain-mips (limited to 'target/mips') diff --git a/target/mips/kernel/generic-mips b/target/mips/kernel/generic-mips new file mode 100644 index 000000000..a1b333ca5 --- /dev/null +++ b/target/mips/kernel/generic-mips @@ -0,0 +1 @@ +CONFIG_MIPS=y diff --git a/target/mips/systems/dragino-ms14s b/target/mips/systems/dragino-ms14s index 0ff60f233..5a91b3897 100644 --- a/target/mips/systems/dragino-ms14s +++ b/target/mips/systems/dragino-ms14s @@ -1,8 +1,8 @@ config ADK_TARGET_SYSTEM_DRAGINO_MS14S bool "Dragino2 ms14-s" depends on ADK_EXPERIMENTAL - select ADK_CPU_MIPS32 - select ADK_TARGET_BIG_ENDIAN + depends on ADK_TARGET_BIG_ENDIAN + select ADK_TARGET_CPU_MIPS_MIPS32 select ADK_TARGET_BOARD_ATH79 select ADK_TARGET_WITH_WATCHDOG select ADK_TARGET_WITH_NAND diff --git a/target/mips/systems/imgtec-ci20 b/target/mips/systems/imgtec-ci20 index a14761586..35ca91e3b 100644 --- a/target/mips/systems/imgtec-ci20 +++ b/target/mips/systems/imgtec-ci20 @@ -1,8 +1,8 @@ config ADK_TARGET_SYSTEM_IMGTEC_CI20 bool "Imagination Creator CI20" depends on ADK_EXPERIMENTAL - select ADK_CPU_MIPS32 - select ADK_TARGET_LITTLE_ENDIAN + depends on ADK_TARGET_LITTLE_ENDIAN + select ADK_TARGET_CPU_MIPS_MIPS32 select ADK_TARGET_WITH_SERIAL select ADK_TARGET_WITH_NAND select ADK_TARGET_WITH_USB diff --git a/target/mips/systems/mikrotik-rb4xx b/target/mips/systems/mikrotik-rb4xx index 7baa64f16..c03c2ccd7 100644 --- a/target/mips/systems/mikrotik-rb4xx +++ b/target/mips/systems/mikrotik-rb4xx @@ -1,7 +1,7 @@ config ADK_TARGET_SYSTEM_MIKROTIK_RB4XX bool "Mikrotik Routerboard 4xx" - select ADK_CPU_MIPS32 - select ADK_TARGET_BIG_ENDIAN + depends on ADK_TARGET_BIG_ENDIAN + select ADK_TARGET_CPU_MIPS_MIPS32 select ADK_TARGET_BOARD_ATH79 select ADK_TARGET_WITH_MINIPCI select ADK_TARGET_WITH_SERIAL diff --git a/target/mips/systems/mikrotik-rb532 b/target/mips/systems/mikrotik-rb532 index 62785260d..3d8c68454 100644 --- a/target/mips/systems/mikrotik-rb532 +++ b/target/mips/systems/mikrotik-rb532 @@ -1,7 +1,7 @@ config ADK_TARGET_SYSTEM_MIKROTIK_RB532 bool "Mikrotik Routerboard 532" - select ADK_CPU_MIPS32 - select ADK_TARGET_LITTLE_ENDIAN + depends on ADK_TARGET_LITTLE_ENDIAN + select ADK_TARGET_CPU_MIPS_MIPS32 select ADK_TARGET_WITH_SERIAL select ADK_TARGET_WITH_MINIPCI select ADK_TARGET_WITH_PCI diff --git a/target/mips/systems/toolchain-mips b/target/mips/systems/toolchain-mips deleted file mode 100644 index aefe0571d..000000000 --- a/target/mips/systems/toolchain-mips +++ /dev/null @@ -1,7 +0,0 @@ -config ADK_TARGET_SYSTEM_TOOLCHAIN_MIPS - bool "Toolchain only" - select ADK_TARGET_TOOLCHAIN - select ADK_TARGET_PACKAGE_TXZ - help - MIPS toolchain. - -- cgit v1.2.3