config/libc/eglibc.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 787 0725d7f8ab22
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@787
     1
# eglibc options
yann@787
     2
yann@787
     3
choice
yann@787
     4
    bool
yann@787
     5
    prompt "eglibc version"
yann@787
     6
yann@787
     7
config EGLIBC_V_TRUNK
yann@787
     8
    bool
yann@787
     9
    prompt "'trunk'"
yann@787
    10
    help
yann@787
    11
      Selecting this will export the trunk of the eglibc subversion repository.
yann@787
    12
yann@787
    13
config EGLIBC_V_2_5
yann@787
    14
    bool
yann@787
    15
    prompt "2.5"
yann@787
    16
yann@787
    17
config EGLIBC_V_2_6
yann@787
    18
    bool
yann@787
    19
    prompt "2.6"
yann@787
    20
yann@787
    21
config EGLIBC_V_2_7
yann@787
    22
    bool
yann@787
    23
    prompt "2.7"
yann@787
    24
yann@787
    25
config EGLIBC_V_2_8
yann@787
    26
    bool
yann@787
    27
    prompt "2.8"
yann@787
    28
yann@787
    29
# CT_INSERT_VERSION_ABOVE
yann@787
    30
# Don't remove above line!
yann@787
    31
endchoice
yann@787
    32
yann@787
    33
config LIBC_VERSION
yann@787
    34
    string
yann@787
    35
    default "trunk" if EGLIBC_V_TRUNK
yann@787
    36
    default "2_5" if EGLIBC_V_2_5
yann@787
    37
    default "2_6" if EGLIBC_V_2_6
yann@787
    38
    default "2_7" if EGLIBC_V_2_7
yann@787
    39
    default "2_8" if EGLIBC_V_2_8
yann@787
    40
# CT_INSERT_VERSION_STRING_ABOVE
yann@787
    41
# Don't remove above line!
yann@787
    42
yann@787
    43
config EGLIBC_REVISION
yann@787
    44
    string
yann@787
    45
    prompt "Revision to use"
yann@787
    46
    default "HEAD"
yann@787
    47
    help
yann@787
    48
      Enter the revision of trunk you want to use.
yann@787
    49
      Default is HEAD.
yann@787
    50
      
yann@787
    51
      A revision argument can be one of:
yann@787
    52
          NUMBER       revision number
yann@787
    53
          '{' DATE '}' revision at start of the date (*)
yann@787
    54
          'HEAD'       latest in repository
yann@787
    55
      
yann@787
    56
      (*) If you want to use a date, please use ISO-8601 formats if
yann@787
    57
          at all possible.
yann@787
    58
yann@787
    59
config EGLIBC_CHECKOUT
yann@787
    60
    bool
yann@787
    61
    prompt "checkout instead of export"
yann@787
    62
    default y if EGLIBC_V_TRUNK
yann@787
    63
    default n if ! EGLIBC_V_TRUNK
yann@787
    64
    help
yann@787
    65
      By default, the eglibc download will be an export of the subversion
yann@787
    66
      repository. If you say 'y' here, then the repository will instead be
yann@787
    67
      checked-out, so that you can update it later.
yann@787
    68
      
yann@787
    69
      Note that crosstool-NG will *not* update your working copy, you will
yann@787
    70
      have to do that yourself.
yann@787
    71
yann@808
    72
source config/libc/eglibc-glibc-common.in