config/libc.in
changeset 1761 88020b2c3246
parent 1585 646bafb5b7f2
child 1870 a4c4e51aa541
     1.1 --- a/config/libc.in	Wed Oct 21 19:08:31 2009 +0200
     1.2 +++ b/config/libc.in	Tue Jan 12 19:24:03 2010 +0100
     1.3 @@ -4,8 +4,6 @@
     1.4  
     1.5  config LIBC
     1.6      string
     1.7 -    default "newlib" if BARE_METAL && ARCH_avr32 && EXPERIMENTAL
     1.8 -    default "none" if BARE_METAL
     1.9  
    1.10  config LIBC_VERSION
    1.11      string
    1.12 @@ -23,8 +21,6 @@
    1.13  
    1.14  source config.gen/libc.in
    1.15  
    1.16 -comment "Common C library options"
    1.17 -
    1.18  config LIBC_SUPPORT_NPTL
    1.19      bool
    1.20      default n
    1.21 @@ -37,7 +33,12 @@
    1.22      string
    1.23      default "nptl"          if THREADS_NPTL
    1.24      default "linuxthreads"  if THREADS_LINUXTHREADS
    1.25 -    default "none"          if THREADS_NONE
    1.26 +    default "none"          if THREADS_NONE || LIBC_none
    1.27 +#                              No C library, no threads!
    1.28 +
    1.29 +if ! LIBC_none
    1.30 +
    1.31 +comment "Common C library options"
    1.32  
    1.33  choice
    1.34      bool
    1.35 @@ -62,4 +63,6 @@
    1.36  
    1.37  endchoice
    1.38  
    1.39 +endif # ! LIBC_none
    1.40 +
    1.41  endmenu