From 721da92158c37cd044ccccd3b37d1e8d0c183f39 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Mon, 14 May 2007 19:59:41 +0000 Subject: Move the whole threading ;odel choice out of glibc and into the generic C library options: even uClibc may have NPTL at one point in the (hopefully near) future. Mark the progress bar as being CPU-intensive. Little style fix to the core C compiler build step. --- config/libc.in | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'config/libc.in') diff --git a/config/libc.in b/config/libc.in index ba6a1bee..da86f1cb 100644 --- a/config/libc.in +++ b/config/libc.in @@ -10,10 +10,13 @@ choice config LIBC_GLIBC bool prompt "glibc" + select LIBC_SUPPORT_NPTL + select LIBC_SUPPORT_LINUXTHREADS config LIBC_UCLIBC bool prompt "uClibc" + select LIBC_SUPPORT_LINUXTHREADS endchoice @@ -25,6 +28,39 @@ config LIBC default "glibc" if LIBC_GLIBC default "uClibc" if LIBC_UCLIBC +config LIBC_SUPPORT_NPTL + bool + default n + +config LIBC_SUPPORT_LINUXTHREADS + bool + default n + +choice + bool + prompt "Threading implentation to use:" + default LIBC_THREADS_NPTL if LIBC_SUPPORT_NPTL + default LIBC_THREADS_LINUXTHREADS if LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL + default LIBC_THREADS_NONE if ! LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL + depends on EXPERIMENTAL + +config LIBC_THREADS_NPTL + bool + prompt "nptl (EXPERIMENTAL)" + depends on LIBC_SUPPORT_NPTL + depends on EXPERIMENTAL + +config LIBC_THREADS_LINUXTHREADS + bool + prompt "linuxthreads" + depends on LIBC_SUPPORT_LINUXTHREADS + +config LIBC_THREADS_NONE + bool + prompt "none" + +endchoice + if LIBC_GLIBC source config/libc_glibc.in endif -- cgit v1.2.3