summaryrefslogtreecommitdiff
path: root/Config.in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2018-05-25 11:36:17 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2018-05-25 19:16:12 (GMT)
commit08317fa541a10bd2e385479d73e99348cc2351dd (patch)
treea3b86ffff6c225c695c748bb417284768922acca /Config.in
parentac941fcdd80d48404c91e8035a5836086f0a40ee (diff)
rework hardware and C library settings
Make the menu system for configuration more intuitive. First choose operating system, then hardware, starting with architecture. Then choose either generic or a sample system. When choosing a sample be more strict in case of MMU or Endianess selection, so a misconfiguration isn't possible. Furthermore put a new top level menu for C library configuration and add Binary format, Instruction set, version selection, float type and any C library specific options. Refactor the duplicate definition of Qemu system versatile and Synopsys NSIM.
Diffstat (limited to 'Config.in')
-rw-r--r--Config.in26
1 files changed, 18 insertions, 8 deletions
diff --git a/Config.in b/Config.in
index 6e5e0b7..a2686e3 100644
--- a/Config.in
+++ b/Config.in
@@ -18,14 +18,30 @@ source "target/config/Config.in.os"
source "target/config/Config.in.hardware"
source "target/config/Config.in.boards"
source "target/config/Config.in.kernelfmt"
+
+menu "Hardware configuration"
source "target/config/Config.in.arch"
-source "target/config/Config.in.endian"
source "target/config/Config.in.system"
-source "target/config/Config.in.systemopts"
source "target/config/Config.in.subsystem"
source "target/config/Config.in.qemuopts"
+source "target/config/Config.in.endian"
+source "target/config/Config.in.mmu"
source "target/config/Config.in.cpu"
source "target/config/Config.in.addons"
+endmenu
+
+menu "C Library configuration"
+ visible if (ADK_TARGET_OS_LINUX || ADK_TARGET_OS_WALDUX) && !ADK_APPLIANCE_TOOLCHAIN && !ADK_TARGET_CHOOSE_ARCH
+source "target/config/Config.in.libc"
+source "target/config/Config.in.threads"
+source "target/config/Config.in.binfmt"
+source "target/config/Config.in.instructions"
+source "target/config/Config.in.fpu"
+source "target/config/Config.in.float"
+source "target/config/Config.in.abi"
+source "target/config/Config.in.libs"
+source "target/config/Config.in.uclibc-ng"
+endmenu
comment "After you saved your configuration once, you shouldn't change anything above"
depends on (ADK_TARGET_OS_LINUX || ADK_TARGET_OS_WALDUX) && !ADK_APPLIANCE_TOOLCHAIN && !ADK_TARGET_CHOOSE_ARCH
@@ -90,12 +106,6 @@ endmenu
menu "Toolchain settings"
visible if !ADK_TARGET_CHOOSE_ARCH
-source "target/config/Config.in.archopts"
-source "target/config/Config.in.fpu"
-source "target/config/Config.in.float"
-source "target/config/Config.in.binfmt"
-source "target/config/Config.in.libc"
-source "target/config/Config.in.abi"
source "target/config/Config.in.binutils"
source "target/config/Config.in.compiler"
source "target/config/Config.in.gdb"