config/libc/uClibc.in.2
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Jun 09 00:41:25 2010 +0200 (2010-06-09)
changeset 1977 d11009b668dd
child 2009 7e19c1de65cd
permissions -rw-r--r--
libc/uClibc: apply the threading model to the configuration

The threading model shall be be set in the .config file.
Also, offer the choice between 'old/stable' and 'new' linuxthreads.
     1 # uClibc second-part option
     2 
     3 if THREADS_LINUXTHREADS
     4 
     5 choice
     6     bool
     7     prompt "Linuxthread implementation: "
     8     default LIBC_UCLIBC_LNXTHRD_OLD
     9 
    10 config LIBC_UCLIBC_LNXTHRD_OLD
    11     bool
    12     prompt "old/stable"
    13     help
    14       From the uClibc config option help:
    15         There are two versions of linuxthreads.  The older (stable) version
    16         has been in uClibc for quite a long time but hasn't seen too many
    17         updates other than bugfixes.
    18 
    19 config LIBC_UCLIBC_LNXTHRD_NEW
    20     bool
    21     prompt "new"
    22     help
    23       From the uClibc config option help:
    24         The new version has not been tested much, and lacks ports for arches
    25         which glibc does not support (like bfin/frv/etc...), but is based on
    26         the latest code from glibc, so it may be the only choice for the
    27         newer ports (like alpha/amd64/64bit arches and hppa).
    28 
    29 endchoice
    30 
    31 config LIBC_UCLIBC_LNXTHRD
    32     string
    33     default "old"   if LIBC_UCLIBC_LNXTHRD_OLD
    34     default "new"   if LIBC_UCLIBC_LNXTHRD_NEW
    35 
    36 endif # THREADS_LINUXTHREADS