# HG changeset patch # User "Yann E. MORIN" # Date 1292188732 -3600 # Node ID bd86485d966a5d78ecbe5d58f02c6da8613e0c1b # Parent 10d4f2bc227ba8669c654ba9191715565286563a libc: hide no-thread for those C libraries that do not support it Building non-threaded glibc has been unsupported for a long time, now: http://sourceware.org/ml/libc-alpha/2005-08/msg00091.html As eglibc is a spin-off of glibc: ditto. So do not offer that possibility in the menuconfig. Thanks to Thomas Petazzoni for spotting, and helping to solve, the issue! Signed-off-by: "Yann E. MORIN" diff -r 10d4f2bc227b -r bd86485d966a config/libc.in --- a/config/libc.in Sun Dec 12 20:47:40 2010 +0100 +++ b/config/libc.in Sun Dec 12 22:18:52 2010 +0100 @@ -40,6 +40,10 @@ 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_NONE bool prompt "none" + depends on LIBC_SUPPORT_THREADS_NONE endchoice diff -r 10d4f2bc227b -r bd86485d966a config/libc/newlib.in --- a/config/libc/newlib.in Sun Dec 12 20:47:40 2010 +0100 +++ b/config/libc/newlib.in Sun Dec 12 22:18:52 2010 +0100 @@ -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 -r 10d4f2bc227b -r bd86485d966a config/libc/uClibc.in --- a/config/libc/uClibc.in Sun Dec 12 20:47:40 2010 +0100 +++ b/config/libc/uClibc.in Sun Dec 12 22:18:52 2010 +0100 @@ -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