diff --git a/config/libc.in b/config/libc.in index f8d9ae90..05ebd6ae 100644 --- a/config/libc.in +++ b/config/libc.in @@ -40,6 +40,10 @@ config LIBC_SUPPORT_WIN32THREADS default n select LIBC_SUPPORT_THREADS_ANY +config LIBC_SUPPORT_THREADS_NONE + bool + default n + config THREADS string default "nptl" if THREADS_NPTL @@ -78,6 +82,7 @@ config THREADS_WIN32THREADS config THREADS_NONE bool prompt "none" + depends on LIBC_SUPPORT_THREADS_NONE endchoice diff --git a/config/libc/newlib.in b/config/libc/newlib.in index b3e90e64..3eba924b 100644 --- a/config/libc/newlib.in +++ b/config/libc/newlib.in @@ -2,6 +2,7 @@ # depends on BARE_METAL config LIBC_newlib + select LIBC_SUPPORT_THREADS_NONE help Newlib is a C library intended for use on embedded systems. It is a conglomeration of several library parts, all under free software diff --git a/config/libc/uClibc.in b/config/libc/uClibc.in index 24ab3d9a..f5a753bf 100644 --- a/config/libc/uClibc.in +++ b/config/libc/uClibc.in @@ -3,6 +3,7 @@ config LIBC_uClibc select LIBC_SUPPORT_LINUXTHREADS + select LIBC_SUPPORT_THREADS_NONE help The de-facto standard for embeded linux systems. Highly configurable, thus as feature-rich as you need, without