summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-01-11 19:19:47 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-01-14 18:01:04 +0100
commit918ad5b8f72e304c5229f656941fc2e67d6e69d1 (patch)
treea0263253a835748d05c7fb199563fd0d45c49ea6 /target
parent3833c6cfdaaefe5d535edaf94ae28f743726c7f3 (diff)
aarch64: enable threads for uClibc-ng
Diffstat (limited to 'target')
-rw-r--r--target/aarch64/uclibc-ng.config9
-rw-r--r--target/config/Config.in.cpu12
2 files changed, 10 insertions, 11 deletions
diff --git a/target/aarch64/uclibc-ng.config b/target/aarch64/uclibc-ng.config
index 8ab724f11..22cadf7ff 100644
--- a/target/aarch64/uclibc-ng.config
+++ b/target/aarch64/uclibc-ng.config
@@ -78,8 +78,11 @@ LDSO_LD_LIBRARY_PATH=y
LDSO_NO_CLEANUP=y
UCLIBC_CTOR_DTOR=y
# LDSO_GNU_HASH_SUPPORT is not set
-HAS_NO_THREADS=y
-# UCLIBC_HAS_THREADS_NATIVE is not set
+# HAS_NO_THREADS is not set
+UCLIBC_HAS_THREADS_NATIVE=y
+UCLIBC_HAS_THREADS=y
+UCLIBC_HAS_TLS=y
+PTHREADS_DEBUG_SUPPORT=y
UCLIBC_HAS_SYSLOG=y
# MALLOC is not set
# MALLOC_SIMPLE is not set
@@ -152,6 +155,7 @@ UCLIBC_HAS_RESOLVER_SUPPORT=y
#
UCLIBC_HAS_STRING_GENERIC_OPT=y
UCLIBC_HAS_STRING_ARCH_OPT=y
+UCLIBC_HAS_STDIO_FUTEXES=y
UCLIBC_HAS_CTYPE_TABLES=y
UCLIBC_HAS_CTYPE_SIGNED=y
# UCLIBC_HAS_CTYPE_UNSAFE is not set
@@ -164,7 +168,6 @@ UCLIBC_HAS_LIBINTL=y
UCLIBC_HAS_HEXADECIMAL_FLOATS=y
UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
-# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index 08cb36371..b270ebebc 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -8,20 +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_SUPPORTS_THREADS if ADK_TARGET_LIB_MUSL
- select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
- select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_MUSL
- select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
+ 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_SUPPORTS_THREADS if ADK_TARGET_LIB_MUSL
- select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
- select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_MUSL
- select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_NPTL
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_AARCH64