diff options
Diffstat (limited to 'config/libc.in')
-rw-r--r-- | config/libc.in | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/config/libc.in b/config/libc.in index 30e39e5..42fe272 100644 --- a/config/libc.in +++ b/config/libc.in @@ -1,11 +1,9 @@ # C library options +menu "C-library" + config LIBC string - default "newlib" if BARE_METAL && ARCH_avr32 && EXPERIMENTAL - default "none" if BARE_METAL - -menu "C-library" 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 |