config/libc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed May 13 20:55:15 2009 +0000 (2009-05-13)
changeset 1337 7f742f73c2d1
parent 1178 41a84f7d3b4f
child 1371 802c132f1f71
permissions -rw-r--r--
Merge the /deve/uclinux branch back to /trunk:
- add support for uClinux, the MMU-less ports of Linux.

-------- diffstat follows --------
/trunk/scripts/build/kernel/linux.sh | 100 1 99 0 ---------------
/trunk/steps.mk | 1 1 0 0 +
/trunk/config/kernel/linux.in | 247 0 247 0 -------------------------------------
/trunk/config/kernel.in | 2 1 1 0
/trunk/config/libc/glibc.in | 2 1 1 0
/trunk/config/libc/eglibc.in | 2 1 1 0
/trunk/config/libc/glibc-eglibc.in-common | 5 5 0 0 +
/trunk/config/config.in | 1 1 0 0 +
8 files changed, 11 insertions(+), 349 deletions(-)
     1 # C library options
     2 
     3 config LIBC
     4     string
     5     default "none" if BARE_METAL
     6 
     7 menu "C-library"
     8 
     9 config LIBC_VERSION
    10     string
    11     help
    12       Enter the date of the snapshot you want to use in the form: YYYYMMDD
    13       where YYYY is the 4-digit year, MM the 2-digit month and DD the 2-digit
    14       day in the month.
    15       
    16       Please note:
    17       - glibc has snapshots done every monday, and only the last ten are kept.
    18       - uClibc has daily snapshots, and only the last 30-or-so are kept.
    19       
    20       So if you want to be able to re-build your toolchain later, you will
    21       have to save your C library tarball by yourself.
    22 
    23 source config.gen/libc.in
    24 
    25 comment "Common C library options"
    26 
    27 config LIBC_SUPPORT_NPTL
    28     bool
    29     default n
    30 
    31 config LIBC_SUPPORT_LINUXTHREADS
    32     bool
    33     default n
    34 
    35 config THREADS
    36     string
    37     default "nptl"          if THREADS_NPTL
    38     default "linuxthreads"  if THREADS_LINUXTHREADS
    39     default "none"          if THREADS_NONE
    40 
    41 choice
    42     bool
    43     prompt "Threading implementation to use:"
    44     default THREADS_NPTL           if LIBC_SUPPORT_NPTL
    45     default THREADS_LINUXTHREADS   if LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
    46     default THREADS_NONE           if ! LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
    47 
    48 config THREADS_NPTL
    49     bool
    50     prompt "nptl"
    51     depends on LIBC_SUPPORT_NPTL
    52 
    53 config THREADS_LINUXTHREADS
    54     bool
    55     prompt "linuxthreads"
    56     depends on LIBC_SUPPORT_LINUXTHREADS
    57 
    58 config THREADS_NONE
    59     bool
    60     prompt "none"
    61 
    62 endchoice
    63 
    64 endmenu