summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-09 20:03:57 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-09 20:03:57 +0200
commit69ccbb2c9af2ebb0e591da1e55737783c560f9f1 (patch)
treed81f441258eb97985d0806af8a6cec5040bb9437 /target/config
parent196b86da481d0877f81023bbaf172c9c92fadd7b (diff)
rework thread handling
In the next uClibc-ng release Linuxthreads support will be again allowed for architectures supporting NPTL. To keep Linuxthreads supported and shiny we need architectures and emulators supported where native debugging is simple. Last time stucked with microblaze as only system where I could run some gdb somehow :(
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in.cpu547
-rw-r--r--target/config/Config.in.libc20
2 files changed, 393 insertions, 174 deletions
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index f42777a9b..6b63b7af0 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -8,14 +8,16 @@ prompt "CPU" if !ADK_TARGET_CHOOSE_ARCH
config ADK_TARGET_CPU_AARCH64_CORTEX_A53
bool "cortex-a53"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_AARCH64
config ADK_TARGET_CPU_AARCH64_CORTEX_A57
bool "cortex-a57"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_AARCH64
@@ -23,56 +25,69 @@ config ADK_TARGET_CPU_AARCH64_CORTEX_A57
config ADK_TARGET_CPU_ALPHA
bool "alpha"
select ADK_LINUX_64
- select ADK_TARGET_WITHOUT_THREADS if ADK_TARGET_LIB_UCLIBC_NG
- select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
- select ADK_TARGET_WITH_MMU
+ select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
+ select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
select ADK_TARGET_USE_STATIC_LIBS if ADK_TARGET_LIB_UCLIBC_NG
+ select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_ALPHA
# arc
config ADK_TARGET_CPU_ARC_ARC700
bool "ARC700 (ARCv1)"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_ARC
config ADK_TARGET_CPU_ARC_ARC_HS
bool "ARC HS (ARCv2)"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_ARC
# arm
config ADK_TARGET_CPU_ARM_ARM1176JZF_S
bool "arm1176jzf-s"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_FPU_VFP
depends on ADK_TARGET_ARCH_ARM
config ADK_TARGET_CPU_ARM_ARM926EJ_S
bool "arm926ej-s"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_ARM
config ADK_TARGET_CPU_ARM_ARM926EJ_S_NOMMU
bool "arm926ej-s"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
select ADK_TARGET_UCLINUX
depends on ADK_TARGET_ARCH_ARM
config ADK_TARGET_CPU_ARM_ARM11MPCORE
bool "arm11mpcore"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_FPU_VFPV3
depends on ADK_TARGET_ARCH_ARM
config ADK_TARGET_CPU_ARM_CORTEX_A5
bool "cortex-a5"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_FPU_VFPV3
select ADK_TARGET_CPU_WITH_NEON
@@ -81,7 +96,9 @@ config ADK_TARGET_CPU_ARM_CORTEX_A5
config ADK_TARGET_CPU_ARM_CORTEX_A7
bool "cortex-a7"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_FPU_VFPV4
select ADK_TARGET_CPU_WITH_NEON
@@ -90,7 +107,9 @@ config ADK_TARGET_CPU_ARM_CORTEX_A7
config ADK_TARGET_CPU_ARM_CORTEX_A8
bool "cortex-a8"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_FPU_VFPV3
select ADK_TARGET_CPU_WITH_NEON
@@ -99,7 +118,9 @@ config ADK_TARGET_CPU_ARM_CORTEX_A8
config ADK_TARGET_CPU_ARM_CORTEX_A9
bool "cortex-a9"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_FPU_VFPV3
select ADK_TARGET_CPU_WITH_NEON
@@ -108,7 +129,9 @@ config ADK_TARGET_CPU_ARM_CORTEX_A9
config ADK_TARGET_CPU_ARM_CORTEX_A15
bool "cortex-a15"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_FPU_VFPV4
select ADK_TARGET_CPU_WITH_NEON
@@ -116,7 +139,9 @@ config ADK_TARGET_CPU_ARM_CORTEX_A15
config ADK_TARGET_CPU_ARM_CORTEX_A17
bool "cortex-a17"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_FPU_VFPV4
select ADK_TARGET_CPU_WITH_NEON
@@ -124,7 +149,9 @@ config ADK_TARGET_CPU_ARM_CORTEX_A17
config ADK_TARGET_CPU_ARM_CORTEX_A53
bool "cortex-a53"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_FPU_VFPV4
select ADK_TARGET_CPU_WITH_NEON
@@ -132,7 +159,9 @@ config ADK_TARGET_CPU_ARM_CORTEX_A53
config ADK_TARGET_CPU_ARM_CORTEX_A57
bool "cortex-a57"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_FPU_VFPV4
select ADK_TARGET_CPU_WITH_NEON
@@ -140,219 +169,255 @@ config ADK_TARGET_CPU_ARM_CORTEX_A57
config ADK_TARGET_CPU_ARM_CORTEX_M4
bool "cortex-m4"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
select ADK_TARGET_CPU_WITH_THUMB2
depends on ADK_TARGET_ARCH_ARM
config ADK_TARGET_CPU_ARM_CORTEX_M3
bool "cortex-m3"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
select ADK_TARGET_CPU_WITH_THUMB2
depends on ADK_TARGET_ARCH_ARM
config ADK_TARGET_CPU_ARM_XSCALE
bool "xscale"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_ARM
# avr32
config ADK_TARGET_CPU_AVR32
bool "avr32"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_AVR32
# bfin
config ADK_TARGET_CPU_BFIN_BF512
bool "bf512"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF514
bool "bf514"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF516
bool "bf516"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF518
bool "bf518"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF522
bool "bf522"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF523
bool "bf523"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF524
bool "bf524"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF525
bool "bf525"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF526
bool "bf526"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF527
bool "bf527"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF531
bool "bf531"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF532
bool "bf532"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF533
bool "bf533"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF534
bool "bf534"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF536
bool "bf536"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF537
bool "bf537"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF538
bool "bf538"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF539
bool "bf539"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF542
bool "bf542"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF544
bool "bf544"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF547
bool "bf547"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF548
bool "bf548"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF549
bool "bf549"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF542M
bool "bf542m"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF544M
bool "bf544m"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF547M
bool "bf547m"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF548M
bool "bf548m"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF549M
bool "bf549m"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF561
bool "bf561"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
config ADK_TARGET_CPU_BFIN_BF592
bool "bf592"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_BFIN
# c6x
config ADK_TARGET_CPU_C6X
bool "c6x"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_C6X
@@ -364,13 +429,15 @@ config ADK_TARGET_CPU_CR16
# cris
config ADK_TARGET_CPU_CRIS_CRISV10
bool "crisv10"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_CRIS
config ADK_TARGET_CPU_CRIS_CRISV32
bool "crisv32"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_CRIS
@@ -384,21 +451,20 @@ config ADK_TARGET_CPU_EPIPHANY
config ADK_TARGET_CPU_FRV
bool "fr-v"
select ADK_TARGET_WITHOUT_MMU
- select ADK_TARGET_WITHOUT_THREADS
depends on ADK_TARGET_ARCH_FRV
# h8/300
config ADK_TARGET_CPU_H8300
bool "h8/300"
select ADK_TARGET_WITHOUT_MMU
- select ADK_TARGET_WITHOUT_THREADS
depends on ADK_TARGET_ARCH_H8300
# hppa
config ADK_TARGET_CPU_PARISC
bool "parisc"
- select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG
- select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_LIB_UCLIBC_NG
+ select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
select ADK_TARGET_WITH_MMU
select ADK_TARGET_USE_STATIC_LIBS if ADK_TARGET_LIB_UCLIBC_NG
depends on ADK_TARGET_ARCH_HPPA
@@ -406,8 +472,9 @@ config ADK_TARGET_CPU_PARISC
# ia64
config ADK_TARGET_CPU_IA64
bool "ia64"
- select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG
- select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_LIB_UCLIBC_NG
+ select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
select ADK_TARGET_WITH_MMU
select ADK_TARGET_USE_STATIC_LIBS if ADK_TARGET_LIB_UCLIBC_NG
depends on ADK_TARGET_ARCH_IA64
@@ -417,198 +484,221 @@ config ADK_TARGET_CPU_LM32
bool "lm32"
select ADK_TARGET_UCLINUX
select ADK_TARGET_WITHOUT_MMU
- select ADK_TARGET_WITHOUT_THREADS
depends on ADK_TARGET_ARCH_LM32
# coldfire
config ADK_TARGET_CPU_CF_51
bool "coldfire 51"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_CPU_CF
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_CF_5206
bool "coldfire 5206"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_CPU_CF
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_CF_5206E
bool "coldfire 5206e"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_CPU_CF
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_CF_5208
bool "coldfire 5208"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_CPU_CF
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_CF_5211A
bool "coldfire 5211a"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_CPU_CF
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_CF_5213
bool "coldfire 5213"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_CPU_CF
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_CF_5216
bool "coldfire 5216"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_CPU_CF
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_CF_52235
bool "coldfire 52235"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_CPU_CF
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_CF_5225
bool "coldfire 5225"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_CPU_CF
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_CF_52259
bool "coldfire 52259"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_CPU_CF
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_CF_5235
bool "coldfire 5235"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_CPU_CF
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_CF_5249
bool "coldfire 5249"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_CPU_CF
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_CF_5250
bool "coldfire 5250"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_CPU_CF
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_CF_5271
bool "coldfire 5271"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_CPU_CF
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_CF_5272
bool "coldfire 5272"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_CPU_CF
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_CF_5275
bool "coldfire 5275"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_CPU_CF
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_CF_5282
bool "coldfire 5282"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_CPU_CF
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_CF_53017
bool "coldfire 53017"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_CPU_CF
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_CF_5307
bool "coldfire 5307"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_CPU_CF
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_CF_5328
bool "coldfire 5328"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_CPU_CF
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_CF_5329
bool "coldfire 5329"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_CPU_CF
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_CF_5373
bool "coldfire 5373"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_CPU_CF
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_CF_5407
bool "coldfire 5407"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_CPU_CF
select ADK_TARGET_UCLINUX
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_CF_5475
bool "coldfire 5475"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_CPU_CF
- select ADK_TARGET_WITH_LT
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_M68K
@@ -621,52 +711,61 @@ config ADK_TARGET_CPU_M32R
# m68k
config ADK_TARGET_CPU_M68K_68020
bool "68020"
- select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_LIB_UCLIBC_NG
+ select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
- select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_M68K_68030
bool "68030"
- select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_LIB_UCLIBC_NG
+ select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
- select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_M68K_68040
bool "68040"
- select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_LIB_UCLIBC_NG
+ select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
- select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
select ADK_TARGET_CPU_WITH_FPU
depends on ADK_TARGET_ARCH_M68K
config ADK_TARGET_CPU_M68K_68060
bool "68060"
- select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_LIB_UCLIBC_NG
+ select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
- select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
depends on ADK_TARGET_ARCH_M68K
# metag
config ADK_TARGET_CPU_METAG
bool "metag"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
+ select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_METAG
# microblaze
config ADK_TARGET_CPU_MICROBLAZE
bool "microblaze"
- select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_LIB_UCLIBC_NG
+ select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_MUSL
select ADK_TARGET_WITH_MMU if !ADK_LINUX_UCLINUX
- select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_MUSL
depends on ADK_TARGET_ARCH_MICROBLAZE
# mips32
config ADK_TARGET_CPU_MIPS_MIPS32
bool "mips32"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
+ select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_FPU
select ADK_KERNEL_CPU_MIPS32_R1
@@ -675,7 +774,9 @@ config ADK_TARGET_CPU_MIPS_MIPS32
config ADK_TARGET_CPU_MIPS_MIPS32R2
bool "mips32r2"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
+ select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_FPU
select ADK_KERNEL_CPU_MIPS32_R2
@@ -684,7 +785,9 @@ config ADK_TARGET_CPU_MIPS_MIPS32R2
config ADK_TARGET_CPU_MIPS_MIPS32R6
bool "mips32r6"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
+ select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_FPU
select ADK_KERNEL_CPU_MIPS32_R6
@@ -695,7 +798,9 @@ config ADK_TARGET_CPU_MIPS_MIPS32R6
config ADK_TARGET_CPU_MIPS64_MIPS64
bool "mips64"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
+ select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_WITH_MMU
select ADK_TARGET_ARCH_MIPS_WITH_NAN_LEGACY
depends on ADK_TARGET_ARCH_MIPS64
@@ -703,7 +808,9 @@ config ADK_TARGET_CPU_MIPS64_MIPS64
config ADK_TARGET_CPU_MIPS64_MIPS64R2
bool "mips64r2"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
+ select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_WITH_MMU
select ADK_TARGET_ARCH_MIPS_WITH_NAN_LEGACY
depends on ADK_TARGET_ARCH_MIPS64
@@ -711,7 +818,9 @@ config ADK_TARGET_CPU_MIPS64_MIPS64R2
config ADK_TARGET_CPU_MIPS64_MIPS64R6
bool "mips64r6"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
+ select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_WITH_MMU
select ADK_TARGET_ARCH_MIPS_WITH_NAN_2008
depends on ADK_TARGET_ARCH_MIPS64
@@ -719,7 +828,9 @@ config ADK_TARGET_CPU_MIPS64_MIPS64R6
config ADK_TARGET_CPU_MIPS64_LOONGSON2F
bool "loongson2f"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
+ select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_MIPS64
@@ -742,24 +853,28 @@ config ADK_TARGET_CPU_MSP430
# nds32
config ADK_TARGET_CPU_NDS32
bool "nds32"
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_LIB_UCLIBC_NG
+ select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_NDS32
# nios2
config ADK_TARGET_CPU_NIOS2
bool "nios2"
- select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG
- select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_LIB_UCLIBC_NG
+ select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_NIOS2
# openrisc
config ADK_TARGET_CPU_OR1K
bool "or1k"
- select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG
- select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_MUSL
- select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_LIB_UCLIBC_NG
+ select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_MUSL
+ select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_OR1K
@@ -767,13 +882,17 @@ config ADK_TARGET_CPU_OR1K
# ppc32
config ADK_TARGET_CPU_PPC
bool "ppc"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
+ select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_PPC
config ADK_TARGET_CPU_PPC_440
bool "ppc400"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
+ select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_PPC
@@ -781,28 +900,32 @@ config ADK_TARGET_CPU_PPC_440
config ADK_TARGET_CPU_PPC64_POWERPC64
bool "powerpc64"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_PPC64
config ADK_TARGET_CPU_PPC64_POWER6
bool "power6"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_PPC64
config ADK_TARGET_CPU_PPC64_POWER7
bool "power7"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_PPC64
config ADK_TARGET_CPU_PPC64_POWER8
bool "power8"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_PPC64
@@ -810,57 +933,72 @@ config ADK_TARGET_CPU_PPC64_POWER8
config ADK_TARGET_CPU_S390_Z900
bool "z900"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_S390
# sh
config ADK_TARGET_CPU_SH_SH2
bool "sh2"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
- select ADK_TARGET_WITH_LT
depends on ADK_TARGET_ARCH_SH
config ADK_TARGET_CPU_SH_SH2A
bool "sh2a"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
- select ADK_TARGET_WITH_LT
depends on ADK_TARGET_ARCH_SH
config ADK_TARGET_CPU_SH_SH3
bool "sh3"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_SH
config ADK_TARGET_CPU_SH_SH4
bool "sh4"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_SH
config ADK_TARGET_CPU_SH_SH4A
bool "sh4a"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_SH
# sparc
config ADK_TARGET_CPU_SPARC_V8
bool "v8"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_SPARC
config ADK_TARGET_CPU_SPARC_V7
bool "v7"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_SPARC
config ADK_TARGET_CPU_SPARC_LEON
bool "leon"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_SPARC
@@ -868,20 +1006,23 @@ config ADK_TARGET_CPU_SPARC_LEON
config ADK_TARGET_CPU_SPARC64_V9
bool "v9"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_SPARC64
# tile
config ADK_TARGET_CPU_TILE_TILEGX
bool "tilegx"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_TILE
config ADK_TARGET_CPU_TILE_TILEPRO
bool "tilepro"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_TILE
@@ -889,43 +1030,54 @@ config ADK_TARGET_CPU_TILE_TILEPRO
config ADK_TARGET_CPU_V850
bool "v850"
select ADK_TARGET_WITHOUT_MMU
- select ADK_TARGET_WITHOUT_THREADS
depends on ADK_TARGET_ARCH_V850
# x86
config ADK_TARGET_CPU_X86_I486
bool "i486"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_X86
config ADK_TARGET_CPU_X86_I586
bool "i586"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_X86
config ADK_TARGET_CPU_X86_I686
bool "i686"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_X86
config ADK_TARGET_CPU_X86_GEODE
bool "geode"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_X86
config ADK_TARGET_CPU_X86_ATOM
bool "atom"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_X86
config ADK_TARGET_CPU_X86_PENTIUM_M
bool "pentium-m"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_X86
@@ -933,14 +1085,18 @@ config ADK_TARGET_CPU_X86_PENTIUM_M
config ADK_TARGET_CPU_X86_64
bool "Generic x86_64"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_X86_64
config ADK_TARGET_CPU_X86_64_ATHLON_FX
bool "Athlon 64 FX"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_VT
select ADK_TARGET_CPU_WITH_MMX
@@ -953,7 +1109,9 @@ config ADK_TARGET_CPU_X86_64_ATHLON_FX
config ADK_TARGET_CPU_X86_64_ATHLON_64
bool "Athlon 64"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_VT
select ADK_TARGET_CPU_WITH_MMX
@@ -966,7 +1124,9 @@ config ADK_TARGET_CPU_X86_64_ATHLON_64
config ADK_TARGET_CPU_X86_64_ATHLON_64_SSE3
bool "Athlon 64 with SSE3"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_VT
select ADK_TARGET_CPU_WITH_MMX
@@ -980,7 +1140,9 @@ config ADK_TARGET_CPU_X86_64_ATHLON_64_SSE3
config ADK_TARGET_CPU_X86_64_BARCELONA
bool "Barcelona"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_VT
select ADK_TARGET_CPU_WITH_MMX
@@ -995,7 +1157,9 @@ config ADK_TARGET_CPU_X86_64_BARCELONA
config ADK_TARGET_CPU_X86_64_BDVER1
bool "bdver1"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_VT
select ADK_TARGET_CPU_WITH_MMX
@@ -1011,7 +1175,9 @@ config ADK_TARGET_CPU_X86_64_BDVER1
config ADK_TARGET_CPU_X86_64_BDVER2
bool "bdver2"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_VT
select ADK_TARGET_CPU_WITH_MMX
@@ -1027,7 +1193,9 @@ config ADK_TARGET_CPU_X86_64_BDVER2
config ADK_TARGET_CPU_X86_64_BDVER3
bool "bdver3"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_VT
select ADK_TARGET_CPU_WITH_MMX
@@ -1043,7 +1211,9 @@ config ADK_TARGET_CPU_X86_64_BDVER3
config ADK_TARGET_CPU_X86_64_BDVER4
bool "bdver4"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_VT
select ADK_TARGET_CPU_WITH_MMX
@@ -1059,7 +1229,9 @@ config ADK_TARGET_CPU_X86_64_BDVER4
config ADK_TARGET_CPU_X86_64_BONNELL
bool "Bonnell"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_MMX
select ADK_TARGET_CPU_WITH_SSE
@@ -1071,7 +1243,9 @@ config ADK_TARGET_CPU_X86_64_BONNELL
config ADK_TARGET_CPU_X86_64_BROADWELL
bool "Broadwell"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_VT
select ADK_TARGET_CPU_WITH_MMX
@@ -1084,7 +1258,9 @@ config ADK_TARGET_CPU_X86_64_BROADWELL
config ADK_TARGET_CPU_X86_64_BTVER1
bool "btver1"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_VT
select ADK_TARGET_CPU_WITH_MMX
@@ -1098,7 +1274,9 @@ config ADK_TARGET_CPU_X86_64_BTVER1
config ADK_TARGET_CPU_X86_64_BTVER2
bool "btver2"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_VT
select ADK_TARGET_CPU_WITH_MMX
@@ -1114,7 +1292,9 @@ config ADK_TARGET_CPU_X86_64_BTVER2
config ADK_TARGET_CPU_X86_64_CORE2
bool "Core 2"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_VT
select ADK_TARGET_CPU_WITH_MMX
@@ -1127,7 +1307,9 @@ config ADK_TARGET_CPU_X86_64_CORE2
config ADK_TARGET_CPU_X86_64_HASWELL
bool "Haswell"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_VT
select ADK_TARGET_CPU_WITH_MMX
@@ -1142,7 +1324,9 @@ config ADK_TARGET_CPU_X86_64_HASWELL
config ADK_TARGET_CPU_X86_64_IVYBRIDGE
bool "Ivybridge"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_VT
select ADK_TARGET_CPU_WITH_MMX
@@ -1157,7 +1341,9 @@ config ADK_TARGET_CPU_X86_64_IVYBRIDGE
config ADK_TARGET_CPU_X86_64_K8
bool "K8"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_MMX
select ADK_TARGET_CPU_WITH_SSE
@@ -1169,7 +1355,9 @@ config ADK_TARGET_CPU_X86_64_K8
config ADK_TARGET_CPU_X86_64_K8_SSE3
bool "K8 with SSE3"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_VT
select ADK_TARGET_CPU_WITH_MMX
@@ -1183,7 +1371,9 @@ config ADK_TARGET_CPU_X86_64_K8_SSE3
config ADK_TARGET_CPU_X86_64_KNL
bool "knl"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_MMX
select ADK_TARGET_CPU_WITH_SSE
@@ -1197,7 +1387,9 @@ config ADK_TARGET_CPU_X86_64_KNL
config ADK_TARGET_CPU_X86_64_NEHALEM
bool "Nehalem"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_VT
select ADK_TARGET_CPU_WITH_MMX
@@ -1212,7 +1404,9 @@ config ADK_TARGET_CPU_X86_64_NEHALEM
config ADK_TARGET_CPU_X86_64_NOCONA
bool "Nocona"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_MMX
select ADK_TARGET_CPU_WITH_SSE
@@ -1223,7 +1417,9 @@ config ADK_TARGET_CPU_X86_64_NOCONA
config ADK_TARGET_CPU_X86_64_OPTERON
bool "Opteron"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_MMX
select ADK_TARGET_CPU_WITH_SSE
@@ -1235,7 +1431,9 @@ config ADK_TARGET_CPU_X86_64_OPTERON
config ADK_TARGET_CPU_X86_64_OPTERON_SSE3
bool "Opteron with SSE3"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_VT
select ADK_TARGET_CPU_WITH_MMX
@@ -1249,7 +1447,9 @@ config ADK_TARGET_CPU_X86_64_OPTERON_SSE3
config ADK_TARGET_CPU_X86_64_SANDYBRIDGE
bool "Sandybridge"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_VT
select ADK_TARGET_CPU_WITH_MMX
@@ -1264,7 +1464,9 @@ config ADK_TARGET_CPU_X86_64_SANDYBRIDGE
config ADK_TARGET_CPU_X86_64_SILVERMONT
bool "Silvermont"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_VT
select ADK_TARGET_CPU_WITH_MMX
@@ -1279,7 +1481,9 @@ config ADK_TARGET_CPU_X86_64_SILVERMONT
config ADK_TARGET_CPU_X86_64_WESTMERE
bool "Westmere"
select ADK_LINUX_64
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_TARGET_CPU_WITH_VT
select ADK_TARGET_CPU_WITH_MMX
@@ -1295,7 +1499,9 @@ config ADK_TARGET_CPU_X86_64_WESTMERE
config ADK_TARGET_CPU_XTENSA_DC233C
bool "dc233c"
depends on ADK_TARGET_LITTLE_ENDIAN
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_KERNEL_XTENSA_VARIANT_DC233C
select ADK_TARGET_KERNEL_ZIMAGE
@@ -1305,7 +1511,9 @@ config ADK_TARGET_CPU_XTENSA_DC233C
config ADK_TARGET_CPU_XTENSA_DC232B
bool "dc232b"
depends on ADK_TARGET_LITTLE_ENDIAN
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_KERNEL_XTENSA_VARIANT_DC232B
select ADK_TARGET_KERNEL_ZIMAGE
@@ -1314,7 +1522,8 @@ config ADK_TARGET_CPU_XTENSA_DC232B
config ADK_TARGET_CPU_XTENSA_DE212
bool "de212"
depends on ADK_TARGET_LITTLE_ENDIAN
- select ADK_TARGET_WITH_LT
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITHOUT_MMU
select ADK_TARGET_UCLINUX
select ADK_KERNEL_XTENSA_VARIANT_CUSTOM
@@ -1324,7 +1533,9 @@ config ADK_TARGET_CPU_XTENSA_DE212
config ADK_TARGET_CPU_XTENSA_KC705_BE
bool "kc705_be"
depends on ADK_TARGET_BIG_ENDIAN
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_KERNEL_XTENSA_VARIANT_DC233C
select ADK_TARGET_KERNEL_ZIMAGE
@@ -1333,7 +1544,9 @@ config ADK_TARGET_CPU_XTENSA_KC705_BE
config ADK_TARGET_CPU_XTENSA_FSF
bool "fsf"
depends on ADK_TARGET_BIG_ENDIAN
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
+ select ADK_TARGET_SUPPORTS_LT
select ADK_TARGET_WITH_MMU
select ADK_KERNEL_XTENSA_VARIANT_FSF
select ADK_TARGET_KERNEL_ZIMAGE
diff --git a/target/config/Config.in.libc b/target/config/Config.in.libc
index d36293bdd..3b4b12f26 100644
--- a/target/config/Config.in.libc
+++ b/target/config/Config.in.libc
@@ -194,23 +194,29 @@ endchoice
choice
prompt "Threading"
-depends on ADK_TARGET_LIB_UCLIBC_NG && !ADK_TARGET_WITHOUT_THREADS
+depends on ADK_TARGET_SUPPORTS_THREADS
-config ADK_TARGET_LIB_WITH_THREADS
- bool "enable threads"
+config ADK_TARGET_WITH_NPTL
+ bool "enable NPTL"
+ depends on ADK_TARGET_SUPPORTS_NPTL
+
+config ADK_TARGET_WITH_LT
+ bool "enable Linuxthreads"
+ depends on ADK_TARGET_SUPPORTS_LT && ADK_TARGET_LIB_UCLIBC_NG
-config ADK_TARGET_LIB_WITHOUT_THREADS
+config ADK_TARGET_WITHOUT_THREADS
bool "disable threads"
+ depends on ADK_TARGET_LIB_UCLIBC_NG
endchoice
-config ADK_TARGET_WITH_LT
+config ADK_TARGET_SUPPORTS_THREADS
bool
-config ADK_TARGET_WITH_NPTL
+config ADK_TARGET_SUPPORTS_NPTL
bool
-config ADK_TARGET_WITHOUT_THREADS
+config ADK_TARGET_SUPPORTS_LT
bool
config ADK_TARGET_LIBC