config/libc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed May 20 20:13:13 2009 +0000 (2009-05-20)
changeset 1345 27fec561af53
parent 1178 41a84f7d3b4f
child 1371 802c132f1f71
permissions -rw-r--r--
Merge the uClinux/noMMU stuff back to /trunk:
- merge Linux and uClinux back to a single kernel
- add ARCH_USE_MMU and acquainted config options that
architectures can auto-select
- make binutils and elf2flt two "Binary utilities" that
go in a single common sub-{menu,directory} structure

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