config/libc.in
author Martin Lund <mgl@doredevelopment.dk>
Sat Jun 20 17:16:54 2009 +0200 (2009-06-20)
branchavr32
changeset 1468 841be3d8669e
parent 1371 802c132f1f71
child 1469 e79d9cc576c7
permissions -rw-r--r--
Misc AVR32 cleanups.
     1 # C library options
     2 
     3 config LIBC
     4     string
     5     default "none" if BARE_METAL
     6     default "newlib" if BARE_METAL && ARCH_avr32 && EXPERIMENTAL
     7 
     8 menu "C-library"
     9 
    10 config LIBC_VERSION
    11     string
    12     help
    13       Enter the date of the snapshot you want to use in the form: YYYYMMDD
    14       where YYYY is the 4-digit year, MM the 2-digit month and DD the 2-digit
    15       day in the month.
    16       
    17       Please note:
    18       - glibc has snapshots done every monday, and only the last ten are kept.
    19       - uClibc has daily snapshots, and only the last 30-or-so are kept.
    20       
    21       So if you want to be able to re-build your toolchain later, you will
    22       have to save your C library tarball by yourself.
    23 
    24 source config.gen/libc.in
    25 
    26 comment "Common C library options"
    27 
    28 config LIBC_SUPPORT_NPTL
    29     bool
    30     default n
    31 
    32 config LIBC_SUPPORT_LINUXTHREADS
    33     bool
    34     default n
    35 
    36 config THREADS
    37     string
    38     default "nptl"          if THREADS_NPTL
    39     default "linuxthreads"  if THREADS_LINUXTHREADS
    40     default "none"          if THREADS_NONE
    41 
    42 choice
    43     bool
    44     prompt "Threading implementation to use:"
    45     default THREADS_NPTL           if LIBC_SUPPORT_NPTL
    46     default THREADS_LINUXTHREADS   if LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
    47     default THREADS_NONE           if ! LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
    48 
    49 config THREADS_NPTL
    50     bool
    51     prompt "nptl"
    52     depends on LIBC_SUPPORT_NPTL
    53 
    54 config THREADS_LINUXTHREADS
    55     bool
    56     prompt "linuxthreads"
    57     depends on LIBC_SUPPORT_LINUXTHREADS
    58 
    59 config THREADS_NONE
    60     bool
    61     prompt "none"
    62 
    63 endchoice
    64 
    65 endmenu