config/libc/glibc.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 808 0949a87e1629
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 # glibc options
     2 
     3 choice
     4     bool
     5     prompt "glibc version"
     6 
     7 config LIBC_V_LATEST
     8     bool
     9     prompt "'latest' snapshot (EXPERIMENTAL)"
    10     depends on EXPERIMENTAL
    11 
    12 config LIBC_V_date
    13     bool
    14     prompt "<specific date> (EXPERIMENTAL)"
    15     depends on EXPERIMENTAL
    16 
    17 config LIBC_V_2_3_6
    18     bool
    19     prompt "2.3.6 (OBSOLETE)"
    20     depends on OBSOLETE
    21 
    22 config LIBC_V_2_5
    23     bool
    24     prompt "2.5"
    25 
    26 config LIBC_V_2_5_1
    27     bool
    28     prompt "2.5.1"
    29 
    30 config LIBC_V_2_6
    31     bool
    32     prompt "2.6"
    33 
    34 config LIBC_V_2_6_1
    35     bool
    36     prompt "2.6.1"
    37 
    38 config LIBC_V_2_7
    39     bool
    40     prompt "2.7"
    41 
    42 # CT_INSERT_VERSION_ABOVE
    43 # Don't remove above line!
    44 endchoice
    45 
    46 config LIBC_VERSION
    47     string
    48     prompt "Enter date (YYYYMMDD)" if LIBC_V_date
    49     default "latest" if LIBC_V_LATEST
    50     default "2.3.6" if LIBC_V_2_3_6
    51     default "2.4" if LIBC_V_2_4
    52     default "2.5" if LIBC_V_2_5
    53     default "2.5.1" if LIBC_V_2_5_1
    54     default "2.6" if LIBC_V_2_6
    55     default "2.6.1" if LIBC_V_2_6_1
    56     default "2.7" if LIBC_V_2_7
    57 # CT_INSERT_VERSION_STRING_ABOVE
    58 # Don't remove above line!
    59 
    60 # Please note: This is not used for now (no sh support).
    61 config LIBC_GLIBC_CONFIGPARMS
    62     string
    63 #    prompt "Extra config params (READ HELP)"
    64     default "" if ARCH != "sh3" && ARCH != "sh4"
    65     default "no-z-defs=yes" if ARCH = "sh3" || ARCH = "sh4"
    66     help
    67       Some architectures need to set options in the file configparms.
    68       This is the case for sh3/4, which really need to set configparms as of
    69       gcc-3.4/glibc-2.3.2.
    70 
    71       Unless you are building a toolchain for sh3/4, you should leave that empty.
    72 
    73       Note: this is awkward, doesn't work well if you need more than one
    74             line in configparms
    75 
    76 source config/libc/glibc-eglibc-common.in