config/gmp_mpfr.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 634 c74132339c44
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@602
     1
# GMP and MPFR libraries config options
yann@602
     2
yann@602
     3
menu "GMP and MPFR"
yann@602
     4
yann@602
     5
config GMP_MPFR
yann@602
     6
    bool
yann@602
     7
    prompt "GMP and MPFR"
yann@602
     8
    help
yann@602
     9
      Recent gcc needs both GMP and MPFR to build some frontends.
yann@602
    10
yann@602
    11
      Say 'Y' here if you want to build those two libraries specifically
yann@602
    12
      for crosstool-NG.
yann@602
    13
yann@602
    14
      The packages that can use GMP and MPFR are:
yann@602
    15
        - binutils
yann@602
    16
        - gcc
yann@602
    17
        - gdb
yann@602
    18
yann@602
    19
config GMP_MPFR_TARGET
yann@602
    20
    bool
yann@602
    21
    prompt "Build libraries for the target"
yann@602
    22
    depends on GMP_MPFR
yann@850
    23
    depends on ! BARE_METAL
yann@602
    24
    default n
yann@602
    25
    help
yann@602
    26
      Also build libraries for the target. This can be usefull if you want
yann@602
    27
      to later build a compiler that will run on the target, or if you want
yann@602
    28
      to run gdb natively on the target.
yann@602
    29
yann@602
    30
if GMP_MPFR
yann@634
    31
source config/gmp_mpfr/gmp.in
yann@634
    32
source config/gmp_mpfr/mpfr.in
yann@602
    33
endif
yann@602
    34
yann@602
    35
endmenu