summaryrefslogtreecommitdiff
path: root/config/libc.in
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-10-21 20:51:39 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-10-21 20:51:39 (GMT)
commit68b9b30f6bdcfab194408b06a3fcbc6363fb7ede (patch)
tree9b285dc55c10bf807eb8e9ac33626c95b8ff8c7b /config/libc.in
parentf5cfdc13690648af79d48d5be4f851877c353886 (diff)
libc/newlib: allow using newlib with archs other than avr32
Diffstat (limited to 'config/libc.in')
-rw-r--r--config/libc.in13
1 files changed, 8 insertions, 5 deletions
diff --git a/config/libc.in b/config/libc.in
index c3d64ae..42fe272 100644
--- a/config/libc.in
+++ b/config/libc.in
@@ -4,8 +4,6 @@ menu "C-library"
config LIBC
string
- default "newlib" if BARE_METAL && ARCH_avr32 && EXPERIMENTAL
- default "none" if BARE_METAL
config LIBC_VERSION
string
@@ -23,8 +21,6 @@ config LIBC_VERSION
source config.gen/libc.in
-comment "Common C library options"
-
config LIBC_SUPPORT_NPTL
bool
default n
@@ -37,7 +33,12 @@ config THREADS
string
default "nptl" if THREADS_NPTL
default "linuxthreads" if THREADS_LINUXTHREADS
- default "none" if THREADS_NONE
+ default "none" if THREADS_NONE || LIBC_none
+# No C library, no threads!
+
+if ! LIBC_none
+
+comment "Common C library options"
choice
bool
@@ -62,4 +63,6 @@ config THREADS_NONE
endchoice
+endif # ! LIBC_none
+
endmenu