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