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