summaryrefslogtreecommitdiff
path: root/target/config/Config.in.threads
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2018-05-25 13:36:17 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2018-05-25 21:16:12 +0200
commit08317fa541a10bd2e385479d73e99348cc2351dd (patch)
treea3b86ffff6c225c695c748bb417284768922acca /target/config/Config.in.threads
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 'target/config/Config.in.threads')
-rw-r--r--target/config/Config.in.threads28
1 files changed, 28 insertions, 0 deletions
diff --git a/target/config/Config.in.threads b/target/config/Config.in.threads
new file mode 100644
index 000000000..b0bb2f452
--- /dev/null
+++ b/target/config/Config.in.threads
@@ -0,0 +1,28 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+choice
+prompt "Threading mode"
+depends on ADK_TARGET_LIB_UCLIBC_NG
+
+config ADK_TARGET_WITH_NPTL
+ bool "NPTL"
+ depends on ADK_TARGET_SUPPORTS_NPTL && ADK_TARGET_SUPPORTS_THREADS && ADK_TARGET_WITH_MMU
+
+config ADK_TARGET_WITH_LT
+ bool "Linuxthreads"
+ depends on ADK_TARGET_SUPPORTS_LT && ADK_TARGET_SUPPORTS_THREADS
+
+config ADK_TARGET_WITHOUT_THREADS
+ bool "none"
+
+endchoice
+
+config ADK_TARGET_SUPPORTS_THREADS
+ bool
+
+config ADK_TARGET_SUPPORTS_NPTL
+ bool
+
+config ADK_TARGET_SUPPORTS_LT
+ bool