config/libc/uClibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Sep 14 16:21:07 2008 +0000 (2008-09-14)
changeset 850 ef8549b58b6f
parent 504 63967c02b881
child 852 c17bb66e2aa5
permissions -rw-r--r--
Introduce a new EXPERIMENTAL feature: BARE_METAL.
This should ultimately llow to build bare-metal compilers, for targets that have no kernel and no C library.
Move the C library build script to their own sub-directory; introduce an empty build script for bare-metal.
Move the compiler build script to its own sub-directory.
Move the kernel build script to its own sub-directory; introduce an empty build script for bare-metal.
Update the ARM target tuples to enable bare-metal targets.
Add two ARM bare-metal samples.
Add latest Linux kernel versions.

/trunk/scripts/build/kernel/none.sh | 77 6 71 0 +----
/trunk/scripts/build/cc/gcc.sh | 58 41 17 0 ++-
/trunk/scripts/build/libc/none.sh | 513 9 504 0 +-----------------------------
/trunk/scripts/crosstool.sh | 17 9 8 0 +
/trunk/scripts/functions | 6 4 2 0 +
/trunk/scripts/showSamples.sh | 6 3 3 0
/trunk/samples/arm-unknown-elf/crosstool.config | 225 225 0 0 +++++++++++++
/trunk/samples/arm-unknown-eabi/crosstool.config | 223 223 0 0 +++++++++++++
/trunk/config/kernel/linux_headers_install.in | 64 27 37 0 ++--
/trunk/config/kernel.in | 9 8 1 0 +
/trunk/config/toolchain.in | 1 1 0 0 +
/trunk/config/cc/gcc.in | 3 3 0 0 +
/trunk/config/debug/dmalloc.in | 1 1 0 0 +
/trunk/config/debug/gdb.in | 4 3 1 0 +
/trunk/config/debug/strace.in | 1 1 0 0 +
/trunk/config/debug/duma.in | 1 1 0 0 +
/trunk/config/cc.in | 8 8 0 0 +
/trunk/config/target.in | 13 13 0 0 +
/trunk/config/binutils.in | 1 1 0 0 +
/trunk/config/gmp_mpfr.in | 1 1 0 0 +
/trunk/config/libc.in | 17 11 6 0 +
/trunk/arch/arm/functions | 3 1 2 0 -
22 files changed, 600 insertions(+), 652 deletions(-)
yann@448
     1
# uClibc options
yann@448
     2
yann@448
     3
choice
yann@448
     4
    bool
yann@448
     5
    prompt "uClibc version"
yann@448
     6
yann@448
     7
config LIBC_V_snapshot
yann@448
     8
    bool
yann@710
     9
    prompt "latest snapshot (EXPERIMENTAL)"
yann@710
    10
    depends on EXPERIMENTAL
yann@448
    11
yann@448
    12
config LIBC_V_specific_date
yann@448
    13
    bool
yann@710
    14
    prompt "<specific date> (EXPERIMENTAL)"
yann@710
    15
    depends on EXPERIMENTAL
yann@448
    16
yann@448
    17
config LIBC_V_0_9_28
yann@448
    18
    bool
yann@448
    19
    prompt "0.9.28 (OBSOLETE)"
yann@448
    20
    depends on OBSOLETE
yann@448
    21
yann@448
    22
config LIBC_V_0_9_28_1
yann@448
    23
    bool
yann@448
    24
    prompt "0.9.28.1 (OBSOLETE)"
yann@448
    25
    depends on OBSOLETE
yann@448
    26
yann@448
    27
config LIBC_V_0_9_28_2
yann@448
    28
    bool
yann@448
    29
    prompt "0.9.28.2 (OBSOLETE)"
yann@448
    30
    depends on OBSOLETE
yann@448
    31
yann@448
    32
config LIBC_V_0_9_28_3
yann@448
    33
    bool
yann@448
    34
    prompt "0.9.28.3"
yann@448
    35
yann@448
    36
config LIBC_V_0_9_29
yann@448
    37
    bool
yann@448
    38
    prompt "0.9.29"
yann@448
    39
yann@448
    40
# CT_INSERT_VERSION_ABOVE
yann@448
    41
# Don't remove above line!
yann@448
    42
endchoice
yann@448
    43
yann@448
    44
config LIBC_VERSION
yann@448
    45
    string
yann@448
    46
    prompt "Enter date (YYYYMMDD)" if LIBC_V_specific_date
yann@448
    47
    default "snapshot" if LIBC_V_snapshot
yann@448
    48
    default "0.9.28" if LIBC_V_0_9_28
yann@448
    49
    default "0.9.28.1" if LIBC_V_0_9_28_1
yann@448
    50
    default "0.9.28.2" if LIBC_V_0_9_28_2
yann@448
    51
    default "0.9.28.3" if LIBC_V_0_9_28_3
yann@448
    52
    default "0.9.29" if LIBC_V_0_9_29
yann@448
    53
# CT_INSERT_VERSION_STRING_ABOVE
yann@448
    54
# Don't remove above line!
yann@448
    55
yann@448
    56
choice
yann@448
    57
    bool
yann@500
    58
    prompt "uClibc verbosity:"
yann@504
    59
    default LIBC_UCLIBC_VERBOSITY_0
yann@500
    60
yann@500
    61
config LIBC_UCLIBC_VERBOSITY_0
yann@500
    62
    bool
yann@500
    63
    prompt "Simplified"
yann@500
    64
    help
yann@500
    65
      Print simplified command lines.
yann@500
    66
yann@500
    67
config LIBC_UCLIBC_VERBOSITY_1
yann@500
    68
    bool
yann@500
    69
    prompt "Full commands"
yann@500
    70
    help
yann@500
    71
      Print full command lines.
yann@500
    72
yann@500
    73
endchoice
yann@500
    74
yann@500
    75
config LIBC_UCLIBC_VERBOSITY
yann@500
    76
    string
yann@500
    77
    default ""      if LIBC_UCLIBC_VERBOSITY_0
yann@500
    78
    default "V=1"   if LIBC_UCLIBC_VERBOSITY_1
yann@500
    79
yann@500
    80
choice
yann@500
    81
    bool
yann@448
    82
    prompt "Debug level"
yann@448
    83
    default LIBC_UCLIBC_DEBUG_LEVEL_0
yann@448
    84
yann@448
    85
config LIBC_UCLIBC_DEBUG_LEVEL_0
yann@448
    86
    bool
yann@448
    87
    prompt "none"
yann@448
    88
yann@448
    89
config LIBC_UCLIBC_DEBUG_LEVEL_1
yann@448
    90
    bool
yann@448
    91
    prompt "minimal"
yann@448
    92
yann@448
    93
config LIBC_UCLIBC_DEBUG_LEVEL_2
yann@448
    94
    bool
yann@448
    95
    prompt "all"
yann@448
    96
yann@448
    97
endchoice
yann@448
    98
yann@448
    99
config LIBC_UCLIBC_DEBUG_LEVEL
yann@448
   100
    int
yann@448
   101
    default 0 if LIBC_UCLIBC_DEBUG_LEVEL_0
yann@448
   102
    default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1
yann@448
   103
    default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2
yann@448
   104
yann@448
   105
config LIBC_UCLIBC_CONFIG_FILE
yann@448
   106
    string
yann@448
   107
    prompt "Configuration file"
yann@448
   108
    default ""
yann@448
   109
    help
yann@448
   110
      Path to the configuration file.
yann@448
   111
      
yann@448
   112
      You _must_ provide one (for now).
yann@448
   113
yann@448
   114
config LIBC_UCLIBC_LOCALES
yann@448
   115
    bool
yann@448
   116
    prompt "Add support for locales"
yann@448
   117
    default n
yann@448
   118
    help
yann@448
   119
      Say y if you want uClibc to support localisation.
yann@448
   120
yann@448
   121
      Note that seems to be broken on recent uClibc releases.