summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-06 08:42:25 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-06 08:42:25 +0100
commit759d71d34ddc69b103e53d1f4bfb625ef877fc23 (patch)
treebbba8f893715b4e047dfb179e5c0439e73806391 /target
parent47c3e6c1bc533d7867ed903b868a5f6c7b3db074 (diff)
newlib: set supported architectures
Diffstat (limited to 'target')
-rw-r--r--target/config/Config.in.libc15
1 files changed, 13 insertions, 2 deletions
diff --git a/target/config/Config.in.libc b/target/config/Config.in.libc
index 4dc29b38e..dafdbbefa 100644
--- a/target/config/Config.in.libc
+++ b/target/config/Config.in.libc
@@ -50,7 +50,19 @@ config ADK_TARGET_LIB_GLIBC
config ADK_TARGET_LIB_NEWLIB
bool "newlib C library"
select ADK_TARGET_WITHOUT_CXX
- select ADK_TARGET_LIB_WITHOUT_THREADS
+ select ADK_TARGET_WITHOUT_THREADS
+ depends on \
+ ADK_TARGET_ARCH_ARM || \
+ ADK_TARGET_ARCH_BFIN || \
+ ADK_TARGET_ARCH_CRIS || \
+ ADK_TARGET_ARCH_FRV || \
+ ADK_TARGET_ARCH_LM32 || \
+ ADK_TARGET_ARCH_MICROBLAZE || \
+ ADK_TARGET_ARCH_MIPS || \
+ ADK_TARGET_ARCH_OR1K || \
+ ADK_TARGET_ARCH_PPC || \
+ ADK_TARGET_ARCH_SPARC || \
+ ADK_TARGET_ARCH_X86
help
https://sourceware.org/newlib/
@@ -123,7 +135,6 @@ endchoice
choice
prompt "Threading"
depends on ADK_TARGET_LIB_UCLIBC_NG && !ADK_TARGET_WITHOUT_THREADS
-depends on ADK_TARGET_LIB_NEWLIB
config ADK_TARGET_LIB_WITH_THREADS
bool "enable threads"