config/libc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Aug 24 00:15:36 2010 +0200 (2010-08-24)
branch1.8
changeset 2093 7d29f05a7f03
parent 2034 c3967b2c49b4
child 2182 032ae3253a65
permissions -rw-r--r--
1.8: update version to 1.8.1
     1 # C library options
     2 
     3 menu "C-library"
     4 
     5 config LIBC
     6     string
     7 
     8 config LIBC_VERSION
     9     string
    10     help
    11       Enter the date of the snapshot you want to use in the form: YYYYMMDD
    12       where YYYY is the 4-digit year, MM the 2-digit month and DD the 2-digit
    13       day in the month.
    14       
    15       Please note:
    16       - glibc has snapshots done every monday, and only the last ten are kept.
    17       - uClibc has daily snapshots, and only the last 30-or-so are kept.
    18       
    19       So if you want to be able to re-build your toolchain later, you will
    20       have to save your C library tarball by yourself.
    21 
    22 source "config.gen/libc.in"
    23 
    24 config LIBC_SUPPORT_THREADS_ANY
    25     bool
    26     default n
    27 
    28 config LIBC_SUPPORT_NPTL
    29     bool
    30     default n
    31     select LIBC_SUPPORT_THREADS_ANY
    32 
    33 config LIBC_SUPPORT_LINUXTHREADS
    34     bool
    35     default n
    36     select LIBC_SUPPORT_THREADS_ANY
    37 
    38 config LIBC_SUPPORT_WIN32THREADS
    39     bool
    40     default n
    41     select LIBC_SUPPORT_THREADS_ANY
    42 
    43 config THREADS
    44     string
    45     default "nptl"          if THREADS_NPTL
    46     default "linuxthreads"  if THREADS_LINUXTHREADS
    47     default "win32"         if THREADS_WIN32THREADS
    48     default "none"          if THREADS_NONE || LIBC_none
    49 #                              No C library, no threads!
    50 
    51 if ! LIBC_none
    52 
    53 comment "Common C library options"
    54 
    55 choice
    56     bool
    57     prompt "Threading implementation to use:"
    58     default THREADS_NPTL           if LIBC_SUPPORT_NPTL
    59     default THREADS_LINUXTHREADS   if LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
    60     default THREADS_WIN32          if LIBC_SUPPORT_WIN32THREADS
    61     default THREADS_NONE           if ! LIBC_SUPPORT_THREADS_ANY
    62 
    63 config THREADS_NPTL
    64     bool
    65     prompt "nptl"
    66     depends on LIBC_SUPPORT_NPTL
    67 
    68 config THREADS_LINUXTHREADS
    69     bool
    70     prompt "linuxthreads"
    71     depends on LIBC_SUPPORT_LINUXTHREADS
    72 
    73 config THREADS_WIN32THREADS
    74     bool
    75     prompt "win32"
    76     depends on LIBC_SUPPORT_WIN32THREADS
    77 
    78 config THREADS_NONE
    79     bool
    80     prompt "none"
    81 
    82 endchoice
    83 
    84 config LIBC_XLDD
    85     bool
    86     prompt "Install a cross ldd-like helper"
    87     depends on ! BARE_METAL
    88     default y
    89     help
    90       Say 'Y' here if you want to have a ldd-like helper that
    91       you can run on your build system, and that will (try to)
    92       resolve shared libraries dependencies as if run on the
    93       target.
    94       
    95       Note that the cross-ldd helper is not a full replacement
    96       for the native ldd. Please see the help, by running it
    97       with '--help' for more explanations.
    98 
    99 source "config.gen/libc.in.2"
   100 
   101 endif # ! LIBC_none
   102 
   103 endmenu